1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) INRIA -
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
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.
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
17 xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
18 xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
19 xmlns:scilab="http://www.scilab.org" xml:id="strcmpi" xml:lang="pt">
21 <refname>strcmpi</refname>
23 compara strings (caso independente) <emphasis role="bold">(Obsolete => strcmp(..,"i"))</emphasis>
27 <title>Seqüência de Chamamento</title>
28 <synopsis>res = strcmpi(string_one,string_two)</synopsis>
31 <title>Parâmetros</title>
34 <term>string_one</term>
36 <para>string ou matriz de strings</para>
40 <term>string_two</term>
42 <para>string ou matriz de strings</para>
54 <title>Descrição</title>
56 <literal>res = strcmpi(string_one,string_two)</literal> retorna um
57 valor inteiro indicando a relação entre os strings.
59 <para>Um valor inteiro maior que zero indica que o primeiro caractere que
60 não corresponde possui valor maior em <literal>string_one</literal> que em
61 <literal>string_two</literal>
63 <para>Um valor negativo indica o contrário.</para>
65 This function is obsolete. Please use <literal>strcmp(s1,s2,"i")</literal> instead.
69 <title>Exemplos</title>
70 <programlisting role="example"><![CDATA[
71 TXT1 = ['scilab','SciLab';'Strcmp','STRcmp'];
72 TXT2 = ['ScIlAb','sciLab';'sTrCmP','StrCMP'];
74 strcmpi(TXT1,'scilab')
77 <refsection role="see also">
78 <title>Ver Também</title>
79 <simplelist type="inline">
81 <link linkend="strcat">strcat</link>
84 <link linkend="strcmp">strcmp</link>
89 <title>Histórico</title>
92 <revnumber>6.0</revnumber>
94 Function tagged as obsolete. Will be removed from Scilab 6.1