CompareString
Compares two strings for sorting.
Syntax
-
CompareString(a, b)
-
a
andb
are 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