| cmpstri | Function (ROM Call 0x16F)

string.h

short cmpstri (const unsigned char *s1, const unsigned char *s2);

Performs case-insensitive string comparison.

cmpstri acts like strcmp, but the comparison is case-insensitive. More precisely, it internally converts all uppercase characters to lowercase (unlike stricmp, which converts all lowercase characters to uppercase).

Uses: CTypeTable
Used by: compare_expressions, MO_digestOptions, init_unit_system, setup_unit_system

See also: stricmp, strcmp