ddf92c0378843eeca1f72b06aee6474871faddc9
[scilab.git] / scilab / modules / string / help / ja_JP / tokens.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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="tokens">
14     <refnamediv>
15         <refname>tokens</refname>
16         <refpurpose>文字列のトークンを返す.</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>呼び出し手順</title>
20         <synopsis>T=tokens(str [,delimiter])</synopsis>
21     </refsynopsisdiv>
22     <refsection>
23         <title>パラメータ</title>
24         <variablelist>
25             <varlistentry>
26                 <term>str</term>
27                 <listitem>
28                     <para>文字列. トークンを探す文字列.</para>
29                 </listitem>
30             </varlistentry>
31             <varlistentry>
32                 <term>delimiter</term>
33                 <listitem>
34                     <para>(オプション) 文字または文字のベクトル. トークンデリミタ.</para>
35                 </listitem>
36             </varlistentry>
37             <varlistentry>
38                 <term>T</term>
39                 <listitem>
40                     <para>みつかったトークンの列ベクトル</para>
41                 </listitem>
42             </varlistentry>
43         </variablelist>
44     </refsection>
45     <refsection>
46         <title>説明</title>
47         <para>
48             <literal>T=tokens(str [,delimiter]) </literal> は,
49             文字列<literal>str</literal>の中に含まれるトークンを探します.
50             <literal>delimiter</literal>のデフォルト値は [" ",&lt;Tab&gt;]です.
51             ただし, &lt;Tab&gt; は <literal>ascii(9)</literal>を意味します.
52         </para>
53     </refsection>
54     <refsection>
55         <title>例</title>
56         <programlisting role="example"><![CDATA[ 
57 tokens('This is a character string')
58 tokens('SCI/demos/scicos','/')
59 tokens('y=a+b*2',['=','+','*'])
60  ]]></programlisting>
61     </refsection>
62     <refsection role="see also">
63         <title>参照</title>
64         <simplelist type="inline">
65             <member>
66                 <link linkend="strindex">strindex</link>
67             </member>
68             <member>
69                 <link linkend="tokenpos">tokenpos</link>
70             </member>
71         </simplelist>
72     </refsection>
73 </refentry>