Utf8.ncasecmp

From GiderosMobile
Revision as of 15:32, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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