C_Intl. CompareStrings
functionguessedavailable in: camelot
Compares two UTF-8 strings using the options specified on a collator.
function C_Intl.CompareStrings( left: string, right: string, strength: CollationStrength): number?Parameters
| name | type | description |
|---|---|---|
left | string | The first UTF-8 string passed to collation comparison. |
right | string | 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.
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Intl system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.