translation updated for string.
[scilab.git] / scilab / modules / string / help / ja_JP / strcmpi.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: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="strcmpi">
16     
17     <refnamediv>
18         
19         <refname>strcmpi</refname>
20         
21         <refpurpose>文字列を比較 (大文字小文字を区別)</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>res = strcmpi(string_one,string_two)</synopsis>
30         
31     </refsynopsisdiv>
32     
33     <refsection>
34         
35         <title>引数</title>
36         
37         <variablelist>
38             
39             <varlistentry>
40                 
41                 <term>string_one</term>
42                 
43                 <listitem>
44                     
45                     <para>文字列または文字列の行列</para>
46                     
47                 </listitem>
48                 
49             </varlistentry>
50             
51             <varlistentry>
52                 
53                 <term>string_two</term>
54                 
55                 <listitem>
56                     
57                     <para>文字列または文字列の行列</para>
58                     
59                 </listitem>
60                 
61             </varlistentry>
62             
63             <varlistentry>
64                 
65                 <term>res</term>
66                 
67                 <listitem>
68                     
69                     <para>整数の行列.</para>
70                     
71                 </listitem>
72                 
73             </varlistentry>
74             
75         </variablelist>
76         
77     </refsection>
78     
79     <refsection>
80         
81         <title>説明</title>
82         
83         <para>
84             
85             <code>res = strcmpi(string_one, string_two)</code>は,
86             
87             文字列の間の関係を示す内部的な値を返します.
88             
89             2つの文字列は<emphasis role="bold">辞書式順序</emphasis>により
90             
91             比較されます.
92             
93         </para>
94         
95         <para>
96             
97             <varname>string_one</varname>が <varname>string_two</varname> 
98             
99             に等しい場合(大文字小文字を区別しません), 値は 
100             
101             <literal>0</literal> となり,
102             
103             <varname>string_one</varname>が
104             
105             <varname>string_two</varname>より大きい場合に<literal>1</literal>,
106             
107             それ以外は<literal>-1</literal>となります.
108             
109         </para>
110         
111     </refsection>
112     
113     <refsection>
114         
115         <title>例</title>
116         
117         <programlisting role="example"><![CDATA[ 
118 TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
119 TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
120 strcmpi(TXT1,TXT2)
121 strcmpi(TXT1,'scilab')
122  ]]></programlisting>
123         
124     </refsection>
125     
126     <refsection role="see also">
127         
128         <title>参照</title>
129         
130         <simplelist type="inline">
131             
132             <member>
133                 
134                 <link linkend="strcat">strcat</link>
135                 
136             </member>
137             
138             <member>
139                 
140                 <link linkend="strcmp">strcmp</link>
141                 
142             </member>
143             
144         </simplelist>
145         
146     </refsection>
147     
148 </refentry>
149