int r = hw_CompareString(STRPTR s1, STRPTR s2, ULONG flags, struct hwTagList *tags);
s1
and s2
and returns how the two strings are related.
If s1
is less than s2
, -1 is returned. If s1
is greater than s2
, 1 is returned,
otherwise, i.e. if the strings are equal, the return value is 0.
The flags
parameter can be set to a combination of the following flags:
HWCMPSTR_IGNORECASE:
hw_CompareString()
will compare the two strings in a case-insensitive
manner.
NULL