PowerApps 中的 Char 函数Char function in PowerApps

将字符代码转换为字符串。Translates a character code into a string.

说明Description

Char 函数可返回包含适用于你的平台的相应 ASCII 字符的字符串。The Char function returns a string that contains the appropriate ASCII character for your platform.

语法Syntax

Char( CharacterCode )Char( CharacterCode )

  • CharacterCode - 必需。CharacterCode - Required. 要转换的 ASCII 字符代码。ASCII character code to translate.

示例Examples

公式Formula 说明Description 结果Result
Char( 65 )Char( 65 ) 返回 ASCII 代码 65 对应的字符。Returns the character that corresponds to ASCII code 65. AA
Char( 105 )Char( 105 ) 返回 ASCII 代码 105 对应的字符。Returns the character that corresponds to ASCII code 105. ii
Char( 35 )Char( 35 ) 返回 ASCII 代码 35 对应的字符。Returns the character that corresponds to ASCII code 35. #