Utf8.char: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Receives zero or more integers. Returns a string with length equal to the number of arguments, in whi..."
 
No edit summary
Line 5: Line 5:
Numerical codes are not necessarily portable across platforms.
Numerical codes are not necessarily portable across platforms.
<source lang="lua">
<source lang="lua">
(string), = utf8.char(code1code2codeN,)
(string) = utf8.char(code1,code2,codeN)
</source>
</source>
'''code1:''' (number)  ''''''<br/>
'''code1''': (number)  ''''''<br/>
'''code2:''' (number)  '''optional'''<br/>
'''code2''': (number)  '''optional'''<br/>
'''codeN:''' (number)  '''optional'''<br/>
'''codeN''': (number)  '''optional'''<br/>
'''Returns''' (string) string with provided characters<br/>
'''Returns''' (string) string with provided characters<br/>

Revision as of 09:16, 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)

'code1: (number) '
code2: (number) optional
codeN: (number) optional
Returns (string) string with provided characters