strcasecmp

fnint strcasecmp(string s1, string s2)

A case-insensitive string comparison, corresponding to the standard strcasecmp() function on platforms which support it.

Parameters

s1string to compare with s2
s2string to compare with s1

Returns

0 if the strings match, a negative value if s1 < s2,

or a positive value if s1 > s2

Deprecated

See funcGLib.strncasecmp for a discussion of why this

function is deprecated and how to replace it.