Difference between revisions of "Utf8.char"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
Receives zero or more integers. Returns a string with length equal to the number of arguments, in which each character has the internal numerical code equal to its corresponding argument.
+
<translate>Receives zero or more integers. Returns a string with length equal to the number of arguments, in which each character has the internal numerical code equal to its corresponding argument.
Numerical codes are not necessarily portable across platforms.
+
Numerical codes are not necessarily portable across platforms.</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(string) = utf8.char(code1,code2,codeN)
 
(string) = utf8.char(code1,code2,codeN)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''code1''': (number) <br/>
+
'''code1''': (number) <translate></translate> <br/>
'''code2''': (number) '''optional'''<br/>
+
'''code2''': (number) <translate></translate> '''optional'''<br/>
'''codeN''': (number) '''optional'''<br/>
+
'''codeN''': (number) <translate></translate> '''optional'''<br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (string) string with provided characters<br/>
+
'''Returns''' (string) <translate>string with provided characters</translate><br/>

Revision as of 14:32, 23 August 2018

Available since: Gideros 2016.06

Description

Receives zero or more integers. Returns a string with length equal to the number of arguments, in which each character has the internal numerical code equal to its corresponding argument. Numerical codes are not necessarily portable across platforms.

(string) = utf8.char(code1,code2,codeN)

Parameters

code1: (number)
code2: (number) optional
codeN: (number) optional

Return values

Returns (string) string with provided characters