Difference between revisions of "Utf8.ncasecmp"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Compare a and b without case, -1 means a < b, 0 means a == b and 1 means a > b.</translate> | <translate>Compare a and b without case, -1 means a < b, 0 means a == b and 1 means a > b.</translate> | ||
− | < | + | <syntaxhighlight lang="lua"> |
(number) = utf8.ncasecmp(a,b) | (number) = utf8.ncasecmp(a,b) | ||
</source> | </source> |
Revision as of 14:32, 13 July 2023
Available since: Gideros 2016.06
Class: utf8
Description
Compare a and b without case, -1 means a < b, 0 means a == b and 1 means a > b. <syntaxhighlight lang="lua"> (number) = utf8.ncasecmp(a,b) </source>
Parameters
a: (string)
b: (string)
Return values
Returns (number) compare state