ca27f9c2d48a3deee661a5b6fd07cff0d44835be
[scilab.git] / scilab / modules / string / help / ja_JP / stripblanks.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="stripblanks">
14     <refnamediv>
15         <refname>stripblanks</refname>
16         <refpurpose>
17             文字列の先頭または末尾の空白(およびタブ)を取り除く
18         </refpurpose>
19     </refnamediv>
20     <refsynopsisdiv>
21         <title>呼び出し手順</title>
22         <synopsis>txt=stripblanks(txt[,tabs])</synopsis>
23     </refsynopsisdiv>
24     <refsection>
25         <title>パラメータ</title>
26         <variablelist>
27             <varlistentry>
28                 <term>txt</term>
29                 <listitem>
30                     <para>文字列または文字列の行列 s</para>
31                 </listitem>
32             </varlistentry>
33             <varlistentry>
34                 <term>tabs</term>
35                 <listitem>
36                     <para>TRUEの場合,タブも削除されます (デフォルト値は FALSE)</para>
37                 </listitem>
38             </varlistentry>
39         </variablelist>
40     </refsection>
41     <refsection>
42         <title>説明</title>
43         <para>
44             stripblanks は文字列の先頭または末尾の空白(およびタブ)を取り除
45             きます.
46         </para>
47     </refsection>
48     <refsection>
49         <title>例</title>
50         <programlisting role="example"><![CDATA[ 
51 a='  123   ';
52 '!'+a+'!'
53 '!'+stripblanks(a)+'!'
54 a=['  123   ',' xyz']
55 strcat(stripblanks(a))
56  ]]></programlisting>
57     </refsection>
58 </refentry>