Pages evstr, strcmp, strcmpi: misc typos + encoding fixed
[scilab.git] / scilab / modules / string / help / pt_BR / strcmpi.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) INRIA -
5  *
6  * This file must be used under the terms of the CeCILL.
7  * This source file is licensed as described in the file COPYING, which
8  * you should have received as part of this distribution.  The terms
9  * are also available at
10  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
11  *
12  -->
13 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
14           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
15           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
16           xmlns:scilab="http://www.scilab.org" xml:id="strcmpi" xml:lang="pt">
17     <refnamediv>
18         <refname>strcmpi</refname>
19         <refpurpose>
20           compara strings (caso independente) <emphasis role="bold">(Obsolete => strcmp(..,"i"))</emphasis>
21         </refpurpose>
22     </refnamediv>
23     <refsynopsisdiv>
24         <title>Seqüência de Chamamento</title>
25         <synopsis>res = strcmpi(string_one,string_two)</synopsis>
26     </refsynopsisdiv>
27     <refsection>
28         <title>Parâmetros</title>
29         <variablelist>
30             <varlistentry>
31                 <term>string_one</term>
32                 <listitem>
33                     <para>string ou matriz de strings</para>
34                 </listitem>
35             </varlistentry>
36             <varlistentry>
37                 <term>string_two</term>
38                 <listitem>
39                     <para>string ou matriz de strings</para>
40                 </listitem>
41             </varlistentry>
42             <varlistentry>
43                 <term>res</term>
44                 <listitem>
45                     <para>matriz</para>
46                 </listitem>
47             </varlistentry>
48         </variablelist>
49     </refsection>
50     <refsection>
51         <title>Descrição</title>
52         <para>
53             <literal>res = strcmpi(string_one,string_two)</literal> retorna um
54             valor inteiro indicando a relação entre os strings.
55         </para>
56         <para>Um valor inteiro maior que zero indica que o primeiro caractere que
57             não corresponde possui valor maior em <literal>string_one</literal> que em
58             <literal>string_two</literal>
59         </para>
60         <para>Um valor negativo indica o contrário.</para>
61         <warning>
62             This function is obsolete. Please use <literal>strcmp(s1,s2,"i")</literal> instead.
63         </warning>
64     </refsection>
65     <refsection>
66         <title>Exemplos</title>
67         <programlisting role="example"><![CDATA[
68 TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
69 TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
70 strcmpi(TXT1,TXT2)
71 strcmpi(TXT1,'scilab')
72  ]]></programlisting>
73     </refsection>
74     <refsection role="see also">
75         <title>Ver Também</title>
76         <simplelist type="inline">
77             <member>
78                 <link linkend="strcat">strcat</link>
79             </member>
80             <member>
81                 <link linkend="strcmp">strcmp</link>
82             </member>
83         </simplelist>
84     </refsection>
85     <refsection>
86         <title>Histórico</title>
87         <revhistory>
88             <revision>
89                 <revnumber>6.0</revnumber>
90                 <revdescription>
91                     Function tagged as obsolete. Will be removed from Scilab 6.1
92                 </revdescription>
93             </revision>
94         </revhistory>
95     </refsection>
96 </refentry>