How might I write an implementation in C of a case-insensitive version of the standard library function strcmp
? Here's how I might.
This this is often available as a nonstandard function that may be called stricmp
, _stricmp
, strcmpi
, or strcasecmp
.
See also Strings: Comparing.