Massive indent of all codes:
[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  * 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-en.txt
11  *
12  -->
13     <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="en">
14         <refnamediv>
15             <refname>strcmpi</refname>
16             <refpurpose>compara strings (caso independente)</refpurpose>
17         </refnamediv>
18         <refsynopsisdiv>
19             <title>Seqüência de Chamamento</title>
20             <synopsis>res = strcmpi(string_one,string_two)</synopsis>
21         </refsynopsisdiv>
22         <refsection>
23             <title>Parâmetros</title>
24             <variablelist>
25                 <varlistentry>
26                     <term>string_one</term>
27                     <listitem>
28                         <para>string ou matriz de strings</para>
29                     </listitem>
30                 </varlistentry>
31                 <varlistentry>
32                     <term>string_two</term>
33                     <listitem>
34                         <para>string ou matriz de strings</para>
35                     </listitem>
36                 </varlistentry>
37                 <varlistentry>
38                     <term>res</term>
39                     <listitem>
40                         <para>matriz</para>
41                     </listitem>
42                 </varlistentry>
43             </variablelist>
44         </refsection>
45         <refsection>
46             <title>Descrição</title>
47             <para>
48                 <literal>res = strcmpi(string_one,string_two)</literal> retorna um
49                 valor inteiro indicando a relação entre os strings.
50             </para>
51             <para>Um valor inteiro maior que zero indica que o primeiro caractere que
52                 não corresponde possui valor maior em <literal>string_one</literal> que em
53                 <literal>string_two</literal>
54             </para>
55             <para>Um valor negativo indica o contrário.</para>
56         </refsection>
57         <refsection>
58             <title>Exemplos</title>
59             <programlisting role="example"><![CDATA[ 
60 TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
61 TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
62 strcmpi(TXT1,TXT2)
63 strcmpi(TXT1,'scilab')
64  ]]></programlisting>
65         </refsection>
66         <refsection role="see also">
67             <title>Ver Também</title>
68             <simplelist type="inline">
69                 <member>
70                     <link linkend="strcat">strcat</link>
71                 </member>
72                 <member>
73                     <link linkend="strcmp">strcmp</link>
74                 </member>
75             </simplelist>
76         </refsection>
77     </refentry>