str_cmpni (String1, String2)
Compares both strings without case sensitivity, and returns a value of
1 if their overlapping parts are equal, and 0
otherwise.
Parameters:
string1 - character string
string2 - character string to compare
Returns:
1 - if part of String1 == part
of String2
0 - if part of String1 != part
of String2
Speed:
FastExample:
STRING* s1 = "Hello World";
STRING* s2 = "Hello Universe";
...
str_cmpni(s1,"hello"); // returns 1
str_cmpni(s2,"hello"); // returns 1
str_cmpni(s1,s2); // returns 0
See also:
str_cpy, str_cat,
str_cmp, str_cmpi, str_len,
str_clip, str_trunc,
str_stri