35char*
strstri(
const char* s1,
const char* s2)
38 if (s1 == NULL || s2 == NULL)
53 while (*s1 !=
'\0' && toupper(*s1) != toupper(*s2))
68 for (sc1 = s1, sc2 = s2; ; )
81 if (toupper(*sc1) != toupper(*sc2))
Declaration of the strstri function, case-insensitive string search for narrow character strings.
char * strstri(const char *s1, const char *s2)
Do case-insensitive search for string 2 (s2) in string 1 (s1). Similar to the C library's strstr().