>wowhelm_
~/forever/addon-api/function/C_Intl.CompareStrings

C_Intl.CompareStrings

documented function · Intl
C_Intl.CompareStrings(left, right, strength) : result

Compares two UTF-8 strings using the options specified on a collator.

──ARGUMENTS
left
cstring (The first UTF-8 string passed to collation comparison.)
right
cstring (The second UTF-8 string passed to collation comparison.)
strength
CollationStrength (The comparison level used by the collator for ordering and equality.)
──RETURNS
result
number (The comparison result: less than, equal to, or greater than zero.)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.