Utf8.title

From GiderosMobile
Revision as of 14: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 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