Algosim documentation: CompareString

CompareString

Compares two strings for sorting.

Syntax

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

See also