translation updated for string.
[scilab.git] / scilab / modules / string / help / ja_JP / strcat.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) INRIA - 
6  * 
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at    
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="strcat" xml:lang="ja">
16     
17     <refnamediv>
18         
19         <refname>strcat</refname>
20         
21         <refpurpose>文字列を結合する</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>
30             
31             txt = strcat(strings [,string_added])
32             
33             txt = strcat(strings [,string_added, ["flag"]])
34             
35         </synopsis>
36         
37     </refsynopsisdiv>
38     
39     <refsection>
40         
41         <title>引数</title>
42         
43         <variablelist>
44             
45             <varlistentry>
46                 
47                 <term>strings</term>
48                 
49                 <listitem>
50                     
51                     <para>文字列のベクトルまたは行列</para>
52                     
53                 </listitem>
54                 
55             </varlistentry>
56             
57             <varlistentry>
58                 
59                 <term>string_added</term>
60                 
61                 <listitem>
62                     
63                     <para>
64                         
65                         追加される文字列, デフォルト値は長さ0の文字列
66                         
67                         <literal>""</literal>
68                         
69                     </para>
70                     
71                 </listitem>
72                 
73             </varlistentry>
74             
75             <varlistentry>
76                 
77                 <term>txt</term>
78                 
79                 <listitem>
80                     
81                     <para>文字列</para>
82                     
83                 </listitem>
84                 
85             </varlistentry>
86             
87             <varlistentry>
88                 
89                 <term>"flag"</term>
90                 
91                 <listitem>
92                     
93                     <para>
94                         
95                         文字列 (<literal>"r"</literal>は
96                         
97                         行列<varname>strings</varname>の行の結合,
98                         
99                         <literal>"c"</literal>は
100                         
101                         行列<varname>strings</varname>の列の結合)
102                         
103                     </para>
104                     
105                 </listitem>
106                 
107             </varlistentry>
108             
109         </variablelist>
110         
111     </refsection>
112     
113     <refsection>
114         
115         <title>説明</title>
116         
117         <para>
118             
119             <code>txt = strcat(strings)</code>は文字列を結合します:
120             
121             <literal>txt = strings(1) + ... + strings(n)</literal>.
122             
123         </para>
124         
125         <para>
126             
127             <code>txt = strcat(strings, string_added)</code>は,
128             
129             <literal>txt = strings(1) + string_added + ... + string_added + strings(n)</literal>
130             
131             を返します.
132             
133         </para>
134         
135         <para>
136             
137             プラス記号の動作は同じです: <code>"a"+"b"</code> は
138             
139             <code>strcat(["a","b"])</code>と同じです.
140             
141         </para>
142         
143         <para>
144             
145             <varname>strings</varname> の大きさが1の場合, 
146             
147             <code>txt = strings(1)</code>を返します.
148             
149         </para>
150         
151         <para>
152             
153             <code>strcat('A','B')</code> は <literal>'A'</literal>を返し,
154             
155             <code>strcat(['A','B'])</code>のように<literal>'AB'</literal>
156             
157             とはなりません.
158             
159         </para>
160         
161         <para>
162             
163             <varname>strings</varname>が文字列の行列の場合,
164             
165             <code>strcat(strings,"",'r')</code> は文字列の行ベクトルを返します.
166             
167             この行ベクトルのエントリは行結合の毛化です.文字列の列ベクトルを返します.
168             
169             この列ベクトルのエントリは列結合の結果です.
170             
171         </para>
172         
173     </refsection>
174     
175     <refsection>
176         
177         <title>例</title>
178         
179         <programlisting role="example"><![CDATA[
180 strcat(string(1:10),',')
181 strcat(["a","b"])
182 strcat(["a","b"],'|')
183 strcat('A')
184 strcat('A','B')
185 strcat(['A','B'])
186 strcat(['A','B'],'')
187
188 m =["a" "b" ; "c" "d"];
189 strcat(m, "r")
190 strcat(m, "", "r")
191 strcat(m, "", "c")
192
193 strcat(m, "_and_", "r")
194 strcat(m, "_and_", "c")
195
196     ]]></programlisting>
197         
198     </refsection>
199     
200     <refsection role="see also">
201         
202         <title>参照</title>
203         
204         <simplelist type="inline">
205             
206             <member>
207                 
208                 <link linkend="string">string</link>
209                 
210             </member>
211             
212             <member>
213                 
214                 <link linkend="strings">strings</link>
215                 
216             </member>
217             
218         </simplelist>
219         
220     </refsection>
221     
222 </refentry>
223