Sign In

$localeCompare[]

Compares two strings, returns their relative order

v2.7.0+ Requires Brackets

Usage

$localeCompare[;]

Arguments

NameTypeRequiredDescription
first
StringYesThe first string to compare
second
StringYesThe second string to compare against first string

Output

Number

Was this page helpful?