Constructs a new string from a sequence of Unicode character code point values each passed as a separate argument.
This is a static method. So called because it belongs to the String() constructor and not any of the string objects. This means it is analogous to a class method in other object oriented environments.
<HTML> <HEAD> </HEAD> <BODY> <SCRIPT> document.write(String.fromCharCode(72, 69, 76, 76, 79)); </SCRIPT> </BODY> </HTML>
Prev | Home | Next |
String.fontsize() | Up | String.indexOf() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |