fe0f53cb1e6036fc5c6845c3b382a08f6777022b
[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  * Copyright (C) 2012 - 2016 - Scilab Enterprises
8  *
9  * This file is hereby licensed under the terms of the GNU GPL v2.0,
10  * pursuant to article 5.3.4 of the CeCILL v.2.1.
11  * This file was originally licensed under the terms of the CeCILL v2.1,
12  * and continues to be available under such terms.
13  * For more information, see the COPYING file which you should have received
14  * along with this program.
15  *
16  -->
17
18 <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">
19     
20     <refnamediv>
21         
22         <refname>strcmpi</refname>
23         
24         <refpurpose>文字列を比較 (大文字小文字を区別)</refpurpose>
25         
26     </refnamediv>
27     
28     <refsynopsisdiv>
29         
30         <title>呼び出し手順</title>
31         
32         <synopsis>res = strcmpi(string_one,string_two)</synopsis>
33         
34     </refsynopsisdiv>
35     
36     <refsection>
37         
38         <title>引数</title>
39         
40         <variablelist>
41             
42             <varlistentry>
43                 
44                 <term>string_one</term>
45                 
46                 <listitem>
47                     
48                     <para>文字列または文字列の行列</para>
49                     
50                 </listitem>
51                 
52             </varlistentry>
53             
54             <varlistentry>
55                 
56                 <term>string_two</term>
57                 
58                 <listitem>
59                     
60                     <para>文字列または文字列の行列</para>
61                     
62                 </listitem>
63                 
64             </varlistentry>
65             
66             <varlistentry>
67                 
68                 <term>res</term>
69                 
70                 <listitem>
71                     
72                     <para>整数の行列.</para>
73                     
74                 </listitem>
75                 
76             </varlistentry>
77             
78         </variablelist>
79         
80     </refsection>
81     
82     <refsection>
83         
84         <title>説明</title>
85         
86         <para>
87             
88             <code>res = strcmpi(string_one, string_two)</code>は,
89             
90             文字列の間の関係を示す内部的な値を返します.
91             
92             2つの文字列は<emphasis role="bold">辞書式順序</emphasis>により
93             
94             比較されます.
95             
96         </para>
97         
98         <para>
99             
100             <varname>string_one</varname>が <varname>string_two</varname> 
101             
102             に等しい場合(大文字小文字を区別しません), 値は 
103             
104             <literal>0</literal> となり,
105             
106             <varname>string_one</varname>が
107             
108             <varname>string_two</varname>より大きい場合に<literal>1</literal>,
109             
110             それ以外は<literal>-1</literal>となります.
111             
112         </para>
113         
114     </refsection>
115     
116     <refsection>
117         
118         <title>例</title>
119         
120         <programlisting role="example"><![CDATA[ 
121 TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
122 TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
123 strcmpi(TXT1,TXT2)
124 strcmpi(TXT1,'scilab')
125  ]]></programlisting>
126         
127     </refsection>
128     
129     <refsection role="see also">
130         
131         <title>参照</title>
132         
133         <simplelist type="inline">
134             
135             <member>
136                 
137                 <link linkend="strcat">strcat</link>
138                 
139             </member>
140             
141             <member>
142                 
143                 <link linkend="strcmp">strcmp</link>
144                 
145             </member>
146             
147         </simplelist>
148         
149     </refsection>
150     
151 </refentry>
152