chrSimlr

Return whether two strings are equal, apart from case

Description:

Determine whether two strings are the same, ignoring distinctions between upper and lowercase letters. Their lengths must be identical after removing trailing blanks.

Invocation

int chrSimlr( const char ∗str1, const char ∗str2 )

Returned Value

Returned as non-zero if the two strings are the same

Parameters :

str1
Pointer to a null terminated string holding the first string.
str2
Pointer to a null terminated string holding the second string.