string.compare()

Performs a case-sensitive comparison of two strings. -1, if string1 is less than string2 0, if string1 is equal to string2 1, if string1 is greater than string2

string.compare( string1, string2 )

Returns: Number

Argument Description
string1
string, required

A string or a variable that contains one

string2
string, required

A string or a variable that contains one

Examples

There are currently no examples for this function

See also