Difference between revisions of "Utf8.fold"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === convert UTF-8 string s to folded case used to compare by ignore case. if s is a number, it's treat as...")
 
Line 4: Line 4:
 
convert UTF-8 string s to folded case used to compare by ignore case. if s is a number, it's treat as a code point and return a convert code point (number). utf8.lower/utf8.upper has the same extension.
 
convert UTF-8 string s to folded case used to compare by ignore case. if s is a number, it's treat as a code point and return a convert code point (number). utf8.lower/utf8.upper has the same extension.
 
<source lang="lua">
 
<source lang="lua">
(string), = utf8.fold(s,)
+
(string) = utf8.fold(s)
 
</source>
 
</source>
'''s:''' (string)  ''''''<br/>
+
'''s''': (string)  ''''''<br/>
 
'''Returns''' (string) folded case string<br/>
 
'''Returns''' (string) folded case string<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2016.06

Description

convert UTF-8 string s to folded case used to compare by ignore case. if s is a number, it's treat as a code point and return a convert code point (number). utf8.lower/utf8.upper has the same extension.

(string) = utf8.fold(s)

's: (string) '
Returns (string) folded case string