Difference between revisions of "Utf8.ncasecmp"

From GiderosMobile
Line 6: Line 6:
 
(number) = utf8.ncasecmp(a,b)
 
(number) = utf8.ncasecmp(a,b)
 
</source>
 
</source>
'''a''': (string)  ''''''<br/>
+
=== Parameters ===
'''b''': (string)  ''''''<br/>
+
'''a''': (string)  <br/>
 +
'''b''': (string)  <br/>
 +
=== Return values ===
 
'''Returns''' (number) compare state<br/>
 
'''Returns''' (number) compare state<br/>

Revision as of 10:38, 23 August 2018

Available since: Gideros 2016.06

Description

Compare a and b without case, -1 means a < b, 0 means a == b and 1 means a > b.

(number) = utf8.ncasecmp(a,b)

Parameters

a: (string)
b: (string)

Return values

Returns (number) compare state