Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Global Functions > mbchr() | |||
Flash Lite 1.0.
mbchr(number)
number The number to convert to a multibyte character.
String function; converts an ASCII code number to a multibyte character.
The following example converts ASCII code numbers to their mulitibyte character equivalents:
trace (mbchr(65)); // Output: A
trace (mbchr(97)); // Output: a
trace (mbchr(36)); // Output: $
myString = mbchr(51) - mbchr(49);
trace ("result = " add myString); // Output: result = 2
|
|
|
|