fromCharCode Method (Windows Scripting - JScript)

 

Returns a string from a number of Unicode character values.

Syntax

String.fromCharCode([code1[, code2[, ...[, codeN]]]]) 

Arguments

  • String
    Required. The String object.

  • code1, . . . , codeN
    Optional. A series of Unicode character values to convert to a string. If no arguments are supplied, the result is the empty string.

Remarks

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);

Requirements

Version 3

Applies To: String Object (Windows Scripting - JScript)

See Also

charCodeAt Method (Windows Scripting - JScript)