modified hooks to remove trailing whitespaces for help files
[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>
20             compara strings (caso independente)  <emphasis role="bold">This function is obsolete.</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 <link linkend="strcmp">strcmp(s1,s1,"i")</link> 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>History</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>