[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  STRCMPI

  .  Summary

  strcmpi(str <string1>, str <string2>);

  .  Description

  The strcmpi function is used to compare two strings (in a similar
  manner to the ==, >, and < operators, but ignoring the case of the
  strings). The strings are compared character by character until a
  difference is found or the end of either string is found, and an in-
  teger value is returned as follows:

       0         <string1> is equal to <string2>

       < 0       <string1> is less than <string2>

       > 0       <string1> is greater than <string2>

  .  Return Value

  An integer value as described above.

  .  Example

  if (strcmpi("HeLLo", "hEllO");
   prints("This will always be printed");

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson