syntax:functions:char
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | syntax:functions:char [2021/08/14 21:55] (current) – [Examples] craigt | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Char(char_code) ====== | ||
+ | Category: | ||
+ | |||
+ | \\ | ||
+ | =====Description===== | ||
+ | This function returns the ASCII character associated with // | ||
+ | |||
+ | \\ | ||
+ | =====Arguments===== | ||
+ | ^Argument^Type^Description^ | ||
+ | |char_code|Number|The 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 ' | ||
+ | |||
+ | char(97) //Returns ' | ||
+ | |||
+ | char(32) //Returns the space character | ||
+ | |||
+ | char(34) //Returns " | ||
+ | |||
+ | char(39) //Returns ' | ||
+ | |||
+ | char(50) //Returns ' | ||
+ | |||
+ | \\ | ||
+ | ===== See also ===== | ||
+ | * [[syntax: | ||
syntax/functions/char.txt · Last modified: 2021/08/14 21:55 by craigt