String.fromCharCode(ascii)
Top  Previous  Next


SWiSH Player Support
SWF5 or later - Supported Internally

Syntax
String.fromCharCode(c1,c2,...cN)

Arguments
c1,c2,...cN: Decimal integers that represent ASCII values.

Returns
String made up of characters assembled from the ASCII codes.

Description
Method: Returns a string made up of the characters represented by the ASCII values in the Arguments.

Sample
str = String.fromCharCode(60
,61,62,63,64);
trace(str);   // returns the string "<=>?@"


Note: str.fromCharCode() is not valid