Chr(number)

Returns a character of a given ASCII value (character code).

See also Asc.

number

Any ASCII value (a number in the range 0 to 255 inclusive).

Usage

Numbers from 0 to 31 are the standard, nonprintable ASCII codes. For example, Chr(10) returns a linefeed character and Chr(13) returns a carriage return character. Therefore, the two-character string Chr(13) & Chr(10) is the newline string.