* Bug 12837 fixed: strcmpi() actual removal
[scilab.git] / scilab / modules / m2sci / help / en_US / m2sci_equivalents / s / 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) 2009 - DIGITEO - Vincent COUVERT
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"
17           xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
18           xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
19           xml:id="m2sci_strcmpi">
20     <refnamediv>
21         <refname>strcmpi (Matlab function)</refname>
22         <refpurpose>Compare strings ignoring case</refpurpose>
23     </refnamediv>
24     <refsection>
25         <title>Matlab/Scilab equivalent</title>
26         <informaltable border="1" width="100%">
27             <tr>
28                 <td align="center">
29                     <emphasis role="bold">Matlab</emphasis>
30                 </td>
31                 <td align="center">
32                     <emphasis role="bold">Scilab</emphasis>
33                 </td>
34             </tr>
35             <tr>
36                 <td>
37                     <programlisting role="example"><![CDATA[
38 strcmpi(str1, str2)
39 ]]></programlisting>
40                 </td>
41                 <td>
42                     <programlisting role="example"><![CDATA[
43 strcmp(str1, str2, 'i')
44 ]]></programlisting>
45                 </td>
46             </tr>
47         </informaltable>
48     </refsection>
49     <refsection>
50         <title>Particular cases</title>
51         <para>
52             <note>
53                 Note that <emphasis role="bold">strcmpi</emphasis> can be use without string inputs.
54                 In this case, Matlab returns <emphasis role="bold">0</emphasis>.
55             </note>
56         </para>
57     </refsection>
58 </refentry>