fromCharCode

Summary

Returns a string based on a sequence of Unicode values.

Usage

public static string fromCharCode(...char charCodes)

Returns

A string equivalent to the sequence of Unicode values.

Parameters

charCodes

The Unicode values to

Description

Constructs a string from a sequence of 16-bit Unicode values.

Examples

Constructing a string from Unicode values
1
2
3
4
import System;
 
char a = `a`, b = `b`, c = `c`;
Console.log(String.fromCharCode(a, b, c)); // "abc"

Share

HTML | BBCode | Direct Link