Difference between revisions of "Utf8.title"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Convert UTF-8 string s to title 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 title 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 title 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) | + | (string) = utf8.title(s) |
</source> | </source> | ||
− | '''s | + | '''s''': (string) ''''''<br/> |
'''Returns''' (string) string in title case<br/> | '''Returns''' (string) string in title case<br/> |
Revision as of 10:17, 23 August 2018
Available since: Gideros 2016.06
Description
Convert UTF-8 string s to title 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.title(s)
's: (string) '
Returns (string) string in title case