Difference between revisions of "Utf8.ncasecmp"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.06<br/>
+
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
=== Description ===
+
=== <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>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = utf8.ncasecmp(a,b)
 
(number) = utf8.ncasecmp(a,b)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''a''': (string) <translate></translate> <br/>
 
'''a''': (string) <translate></translate> <br/>
 
'''b''': (string) <translate></translate> <br/>
 
'''b''': (string) <translate></translate> <br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>compare state</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>compare state</translate><br/>

Revision as of 07:26, 24 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