* `strcmpi` is deprecated. Please use `strcmp(..,"i")`instead.
[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>文字列を比較 (大文字小文字を区別) <emphasis role="bold">This function is obsolete.</emphasis>
25         </refpurpose>
26         
27     </refnamediv>
28     
29     <refsynopsisdiv>
30         
31         <title>呼び出し手順</title>
32         
33         <synopsis>res = strcmpi(string_one,string_two)</synopsis>
34         
35     </refsynopsisdiv>
36     
37     <refsection>
38         
39         <title>引数</title>
40         
41         <variablelist>
42             
43             <varlistentry>
44                 
45                 <term>string_one</term>
46                 
47                 <listitem>
48                     
49                     <para>文字列または文字列の行列</para>
50                     
51                 </listitem>
52                 
53             </varlistentry>
54             
55             <varlistentry>
56                 
57                 <term>string_two</term>
58                 
59                 <listitem>
60                     
61                     <para>文字列または文字列の行列</para>
62                     
63                 </listitem>
64                 
65             </varlistentry>
66             
67             <varlistentry>
68                 
69                 <term>res</term>
70                 
71                 <listitem>
72                     
73                     <para>整数の行列.</para>
74                     
75                 </listitem>
76                 
77             </varlistentry>
78             
79         </variablelist>
80         
81     </refsection>
82     
83     <refsection>
84         
85         <title>説明</title>
86         
87         <para>
88             
89             <code>res = strcmpi(string_one, string_two)</code>は,
90             
91             文字列の間の関係を示す内部的な値を返します.
92             
93             2つの文字列は<emphasis role="bold">辞書式順序</emphasis>により
94             
95             比較されます.
96             
97         </para>
98         
99         <para>
100             
101             <varname>string_one</varname>が <varname>string_two</varname> 
102             
103             に等しい場合(大文字小文字を区別しません), 値は 
104             
105             <literal>0</literal> となり,
106             
107             <varname>string_one</varname>が
108             
109             <varname>string_two</varname>より大きい場合に<literal>1</literal>,
110             
111             それ以外は<literal>-1</literal>となります.
112             
113         </para>
114         
115         <warning>
116             This function is obsolete. Please use <link linkend="strcmp">strcmp(s1,s1,"i")</link> instead.
117         </warning>
118     </refsection>
119     
120     <refsection>
121         
122         <title>例</title>
123         
124         <programlisting role="example"><![CDATA[ 
125 TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
126 TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
127 strcmpi(TXT1,TXT2)
128 strcmpi(TXT1,'scilab')
129  ]]></programlisting>
130         
131     </refsection>
132     
133     <refsection role="see also">
134         
135         <title>参照</title>
136         
137         <simplelist type="inline">
138             
139             <member>
140                 
141                 <link linkend="strcat">strcat</link>
142                 
143             </member>
144             
145             <member>
146                 
147                 <link linkend="strcmp">strcmp</link>
148                 
149             </member>
150             
151         </simplelist>
152         
153     </refsection>
154     
155     <refsection>
156         <title>History</title>
157         <revhistory>
158             <revision>
159                 <revnumber>6.0</revnumber>
160                 <revdescription>
161                     Function tagged as obsolete. Will be removed from Scilab 6.1
162                 </revdescription>
163             </revision>
164         </revhistory>
165     </refsection>
166 </refentry>
167