| String.fromCharCode( ) Class Method | Flash 5 | | generate a string from one or more code points | | String.fromCharCode(code_point1, code_point2,...code_pointn) Arguments - code_ point1,...code_ pointn
-
A series of one or more integers corresponding to Unicode character code points. Returns A string formed by concatenating the characters represented by the specified code points. Description The fromCharCode( ) class method produces a character or series of characters from character code points, as described in Chapter 4. For code points below 128, it effectively builds a string from a series of ASCII codes. Example// Makes a copyright symbol, followed by the year (2003) copyNotice = String.fromCharCode(169) + " 2003"; See Also String.charCodeAt( ); "The fromCharCode( ) function," in Chapter 4; Appendix B |