Utf8.title: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages />
'''Available since:''' Gideros 2016.06<br/>
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
'''Class:''' [[utf8]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/utf8|utf8]]<br/>
 
=== <translate>Description</translate> ===
=== Description ===
<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>
Converts UTF-8 string ''s'' to title case used to compare ignoring case.
<source lang="lua">
<syntaxhighlight lang="lua">
(string) = utf8.title(s)
(string) = utf8.title(s)
</source>
</syntaxhighlight>
=== <translate>Parameters</translate> ===
 
'''s''': (string) <translate></translate> <br/>
If ''s'' is a number, it is treated as a code point and returns a converted code point (number).
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (string) <translate>string in title case</translate><br/>
utf8.lower/utf8.upper has the same extension.
 
=== Parameters ===
'''s''': (string) <br/>
 
=== Return values ===
'''Returns''' (string) string in title case<br/>


{{Utf8}}
{{Utf8}}

Latest revision as of 21:18, 1 December 2023

Available since: Gideros 2016.06
Class: utf8

Description

Converts UTF-8 string s to title case used to compare ignoring case.

(string) = utf8.title(s)

If s is a number, it is treated as a code point and returns a converted code point (number).

utf8.lower/utf8.upper has the same extension.

Parameters

s: (string)

Return values

Returns (string) string in title case