Difference between revisions of "String.char"

From GiderosMobile
Line 17: Line 17:
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (string) <translate>string created from characters</translate><br/>
 
'''<translate>Returns</translate>''' (string) <translate>string created from characters</translate><br/>
 +
 +
{{String}}

Revision as of 22:06, 11 February 2020


Available since: Gideros 2011.6
Class: string

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