- number – A number between 1 and 255.
Use CHAR to translate code page numbers into actual characters.
CHAR can be useful when you want to specify characters in formulas or functions that are awkward or impossible to type directly. For example, you can use CHAR(10) to add a line break in a formula on Windows, and CHAR(13) to add a line break on the Mac.
The character returned is based on the character set used by your computer: