Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>strcmpi</b> http://www.X-Hacker.org [<<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");

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson