Utf8.fold

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

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. <syntaxhighlight lang="lua"> (string) = utf8.fold(s) </source>

Parameters

s: (string)

Return values

Returns (string) folded case string