![]() ![]() | |
Flash Player 5.
String.fromCharCode(c1,c2,...cN)
c1,c2,...cN Decimal integers that represent ASCII values.
A string.
Method; returns a string made up of the characters represented by the ASCII values in the parameters.
This example uses fromCharCode() to insert an @ character in the e-mail address.
address_str = "dog" + String.fromCharCode(64) + "house.net"; trace(address_str); // dog@house.net
![]() ![]() | |