Utf8.title: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2016.06<br/>
'''Available since:''' Gideros 2016.06<br/>
=== Description ===
=== 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.
<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>
<source lang="lua">
<source lang="lua">
(string) = utf8.title(s)
(string) = utf8.title(s)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''s''': (string) <br/>
'''s''': (string) <translate></translate> <br/>
=== Return values ===
=== Return values ===
'''Returns''' (string) string in title case<br/>
'''Returns''' (string) <translate>string in title case</translate><br/>

Revision as of 12:38, 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)

Parameters

s: (string)

Return values

Returns (string) string in title case