* `strcmpi` is deprecated. Please use `strcmp(..,"i")`instead.
[scilab.git] / scilab / modules / string / help / pt_BR / strcmpi.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) INRIA - 
5  * 
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <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="strcmpi" xml:lang="pt">
17     <refnamediv>
18         <refname>strcmpi</refname>
19         <refpurpose>compara strings (caso independente)  <emphasis role="bold">This function is obsolete.</emphasis>
20         </refpurpose>
21     </refnamediv>
22     <refsynopsisdiv>
23         <title>Seqüência de Chamamento</title>
24         <synopsis>res = strcmpi(string_one,string_two)</synopsis>
25     </refsynopsisdiv>
26     <refsection>
27         <title>Parâmetros</title>
28         <variablelist>
29             <varlistentry>
30                 <term>string_one</term>
31                 <listitem>
32                     <para>string ou matriz de strings</para>
33                 </listitem>
34             </varlistentry>
35             <varlistentry>
36                 <term>string_two</term>
37                 <listitem>
38                     <para>string ou matriz de strings</para>
39                 </listitem>
40             </varlistentry>
41             <varlistentry>
42                 <term>res</term>
43                 <listitem>
44                     <para>matriz</para>
45                 </listitem>
46             </varlistentry>
47         </variablelist>
48     </refsection>
49     <refsection>
50         <title>Descrição</title>
51         <para>
52             <literal>res = strcmpi(string_one,string_two)</literal> retorna um
53             valor inteiro indicando a relação entre os strings.
54         </para>
55         <para>Um valor inteiro maior que zero indica que o primeiro caractere que
56             não corresponde possui valor maior em <literal>string_one</literal> que em
57             <literal>string_two</literal>
58         </para>
59         <para>Um valor negativo indica o contrário.</para>
60         <warning>
61             This function is obsolete. Please use <link linkend="strcmp">strcmp(s1,s1,"i")</link> instead.
62         </warning>
63     </refsection>
64     <refsection>
65         <title>Exemplos</title>
66         <programlisting role="example"><![CDATA[ 
67 TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
68 TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
69 strcmpi(TXT1,TXT2)
70 strcmpi(TXT1,'scilab')
71  ]]></programlisting>
72     </refsection>
73     <refsection role="see also">
74         <title>Ver Também</title>
75         <simplelist type="inline">
76             <member>
77                 <link linkend="strcat">strcat</link>
78             </member>
79             <member>
80                 <link linkend="strcmp">strcmp</link>
81             </member>
82         </simplelist>
83     </refsection>
84     <refsection>
85         <title>History</title>
86         <revhistory>
87             <revision>
88                 <revnumber>6.0</revnumber>
89                 <revdescription>
90                     Function tagged as obsolete. Will be removed from Scilab 6.1
91                 </revdescription>
92             </revision>
93         </revhistory>
94     </refsection>
95 </refentry>