standard.C.string.strcoll

strcoll is available since version 1.0.

Prototype:

number strcoll(string string1, string string2)

Parameters

string1
null-terminated string
string2
null-terminated string

Description:

Compare strings using locale-specific information. strcoll compares the string pointed to by s1 to the string pointed to by s2, according to the current locale-specific information.

Return value:

Returns a value indicating the relationship of string1 to string2, as follows. Return value Relationship of string1 to string2 < 0 string1 less than string2 0 string1 identical to string2 > 0 string1 greater than string2