CompareString
Compares two strings for sorting.
Syntax
-
CompareString(a, b)-
aandbare strings
-
Description
CompareString(a, b) returns a negative number if a should be sorted before b, a positive number if a should be sorted after b, and zero otherwise.
Examples
CompareString("alpha", "beta")
−1