b80a407daba1ea2bb7b87bb9da63404267f823a6
[scilab.git] / scilab / modules / string / help / ja_JP / strcspn.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) INRIA - 
5  * 
6  * This file must be used under the terms of the CeCILL.
7  * This source file is licensed as described in the file COPYING, which
8  * you should have received as part of this distribution.  The terms
9  * are also available at    
10  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
11  *
12  -->
13 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="strcspn" xml:lang="ja">
14     <refnamediv>
15         <refname>strcspn</refname>
16         <refpurpose>文字列の中の文字までの間隔を得る</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>Calling Sequence</title>
20         <synopsis>res = strcspn(string_one,string_two)</synopsis>
21     </refsynopsisdiv>
22     <refsection>
23         <title>パラメータ</title>
24         <variablelist>
25             <varlistentry>
26                 <term>string_one</term>
27                 <listitem>
28                     <para>文字列または文字列の行列</para>
29                 </listitem>
30             </varlistentry>
31             <varlistentry>
32                 <term>string_two</term>
33                 <listitem>
34                     <para>文字列または文字列の行列</para>
35                 </listitem>
36             </varlistentry>
37             <varlistentry>
38                 <term>res</term>
39                 <listitem>
40                     <para>行列.</para>
41                 </listitem>
42             </varlistentry>
43         </variablelist>
44     </refsection>
45     <refsection>
46         <title>説明</title>
47         <para>
48             <literal>res = strcspn(string_one,string_two)</literal> は,
49             string_oneの中で
50             string_twoの一部の文字のどれかが最初に現れる位置を
51             探し,それが最初に現れるまでのstring_oneの文字数を返します.
52         </para>
53         <para>string_one はstring_twoと同じ次元で,string_one
54             は文字列である必要があります.
55         </para>
56     </refsection>
57     <refsection>
58         <title>例</title>
59         <programlisting role="example"><![CDATA[ 
60 strcspn("fcba73","1234567890")
61 strcspn(["fcba73","f7cba73"],"1234567890")
62 strcspn(["fcba73","f7cba73"],["312","34567890"])
63  ]]></programlisting>
64     </refsection>
65     <refsection role="see also">
66         <title>参照</title>
67         <simplelist type="inline">
68             <member>
69                 <link linkend="strspn">strspn</link>
70             </member>
71         </simplelist>
72     </refsection>
73 </refentry>