CHR()

Advantage Concepts

Advantage Expression Engine function that converts an ASCII code to a character value

Syntax

CHR(<nCode>) à cChar

Parameters

<nCode>  An ASCII code in the range of zero to 255.

Return Values

CHR() returns a single character value whose ASCII code is specified by <nCode>.

Remarks

CHR() is a numeric conversion function that converts an ASCII code to a character. It is the inverse of ASC().

Note CHR(0) has a length of one (1) and is treated like any other character.

Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.

See Also

None.