User Tools

Site Tools


syntax:functions:char

Char(char_code)

Category: Text function


Description

This function returns the ASCII character associated with char_code.


Arguments

ArgumentTypeDescription
char_codeNumberThe numeric (decimal) ASCII value to be converted into the ASCII character.

Return value type: Text


Remarks

This function returns a text value regardless of what the character appears to be. See examples below.


Examples

char(65) //Returns 'A'
char(97) //Returns 'a'
char(32) //Returns the space character
char(34) //Returns "  (Double quote)
char(39) //Returns '  (Single quote)
char(50) //Returns '2'  (2 is returned as a text string, not a number value)


See also

syntax/functions/char.txt · Last modified: 2021/08/14 21:55 by craigt