Utf8.title: Difference between revisions
From GiderosMobile
No edit summary |
m Text replacement - "<source" to "<syntaxhighlight" |
||
| Line 5: | Line 5: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate>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.</translate> | <translate>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.</translate> | ||
< | <syntaxhighlight lang="lua"> | ||
(string) = utf8.title(s) | (string) = utf8.title(s) | ||
</source> | </source> | ||
Revision as of 13:32, 13 July 2023
Available since: Gideros 2016.06
Class: utf8
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. <syntaxhighlight lang="lua"> (string) = utf8.title(s) </source>
Parameters
s: (string)
Return values
Returns (string) string in title case