Difference between revisions of "String.char"
From GiderosMobile
Line 9: | Line 9: | ||
(string) = string.char(i1,i2,...) | (string) = string.char(i1,i2,...) | ||
</source> | </source> | ||
− | '''i1''': (number) first character represented by numerical code | + | === Parameters === |
+ | '''i1''': (number) first character represented by numerical code <br/> | ||
'''i2''': (number) second character represented by numerical code '''optional'''<br/> | '''i2''': (number) second character represented by numerical code '''optional'''<br/> | ||
'''...''': (multiple) more optional characters represented by numerical codes '''optional'''<br/> | '''...''': (multiple) more optional characters represented by numerical codes '''optional'''<br/> | ||
+ | === Return values === | ||
'''Returns''' (string) string created from characters<br/> | '''Returns''' (string) string created from characters<br/> |
Revision as of 10:45, 23 August 2018
Available since: Gideros 2011.6
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.
Note that numerical codes are not necessarily portable across platforms.
(string) = string.char(i1,i2,...)
Parameters
i1: (number) first character represented by numerical code
i2: (number) second character represented by numerical code optional
...: (multiple) more optional characters represented by numerical codes optional
Return values
Returns (string) string created from characters