跳到主要内容

CHAR

Returns the character specified by the code number from your computer's character set.

Syntax

expression.CHAR(arg1);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
arg1RequiredApiRange | ApiName | numberA number between 1 and 255 specifying a character from the computer character set.

Returns

string

Example

let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.CHAR(234));