CHAR

Converts a number into a character according to the current code table. The number can be a two-digit or three-digit integer number.

大于 127 的代码会依赖于您系统的字符映射 (例如 iso-8859-1、iso-8859-2、Windows-1252、Windows-1250),因此可能不能移植。

语法

CHAR(Number)

Number is a number between 1 and 255 representing the code value for the character.

示例

=CHAR(100) returns the character d.

="abc" & CHAR(10) & "def" inserts a newline character into the string.

请支持我们!