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