Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript String Object fromCharCode Method

Creates a string from a number of Unicode character values.

Syntax: JScript String Object fromCharCode Method

String.fromCharCode(code1, code2, ..., coden)

Arguments: JScript String Object fromCharCode Method

code1, code2, ...coden

The series of Unicode character values to convert into a string.

Remarks: JScript String Object fromCharCode Method

A String object need not be created before calling fromCharCode.

In the following example, test contains the string "plain":

var test = String.fromCharCode(112, 108, 97, 105, 110);

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.