Returns the character equivalent of a specified ASCII value.

Syntax

CHR(<expN>)

<expN>

The numeric ASCII value, from 0 to 255, inclusive, whose character equivalent you want to return.

Description

CHR( ) is the inverse of ASC( ). CHR( ) accepts an ASCII value and returns its character, while ASC( ) accepts a character and returns its ASCII value.

Other than the syntactic difference of being a method instead of a function, the chr( ) method behaves identically to the CHR( ) function.