Difference between revisions of "Utf8.char"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 6: Line 6:
 
<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.
 
<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.</translate>
 
Numerical codes are not necessarily portable across platforms.</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = utf8.char(code1,code2,codeN)
 
(string) = utf8.char(code1,code2,codeN)
 
</source>
 
</source>

Revision as of 14:32, 13 July 2023


Available since: Gideros 2016.06
Class: utf8

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. <syntaxhighlight lang="lua"> (string) = utf8.char(code1,code2,codeN) </source>

Parameters

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

Return values

Returns (string) string with provided characters