* Bug 12837 fixed: strcmpi() actual removal
[scilab.git] / scilab / modules / m2sci / help / en_US / m2sci_equivalents / s / strcmpi.xml
index ce6de9e..8cf5cd1 100644 (file)
  * along with this program.
  *
  -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="m2sci_strcmpi">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
+          xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
+          xml:id="m2sci_strcmpi">
     <refnamediv>
         <refname>strcmpi (Matlab function)</refname>
         <refpurpose>Compare strings ignoring case</refpurpose>
             <tr>
                 <td>
                     <programlisting role="example"><![CDATA[
-strcmpi(str1,str2)
+strcmpi(str1, str2)
 ]]></programlisting>
                 </td>
                 <td>
                     <programlisting role="example"><![CDATA[
-convstr(str1)==convstr(str2)
+strcmp(str1, str2, 'i')
 ]]></programlisting>
                 </td>
             </tr>
@@ -47,7 +50,8 @@ convstr(str1)==convstr(str2)
         <title>Particular cases</title>
         <para>
             <note>
-                Note that <emphasis role="bold">strcmpi</emphasis> can be use with not string inputs, in this case Matlab returns <emphasis role="bold">0</emphasis>. Scilab <emphasis role="bold">==</emphasis> will in this case return <emphasis role="bold">%T</emphasis> if both inputs are equal.
+                Note that <emphasis role="bold">strcmpi</emphasis> can be use without string inputs.
+                In this case, Matlab returns <emphasis role="bold">0</emphasis>.
             </note>
         </para>
     </refsection>