Difference between revisions of "Utf8.char"
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...") |
|||
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) | + | (string) = utf8.char(code1,code2,codeN) |
</source> | </source> | ||
− | '''code1 | + | '''code1''': (number) ''''''<br/> |
− | '''code2 | + | '''code2''': (number) '''optional'''<br/> |
− | '''codeN | + | '''codeN''': (number) '''optional'''<br/> |
'''Returns''' (string) string with provided characters<br/> | '''Returns''' (string) string with provided characters<br/> |
Revision as of 10: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