User Tools

Site Tools


syntax:functions:char

This is an old revision of the document!


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) = 'A'
char(97) = 'a'
char(32) = the space character
char(34) = "  //Double quote
char(39) = '  //Single quote
char(50) = '2'  //2 is returned as a text string, not a number value


See also

syntax/functions/char.1627856069.txt.gz · Last modified: 2021/08/01 18:14 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki