Previous Topic

Next Topic

Chr - SQL Function

Chr(Number: Number): String

Returns a one character string containing the character whose character code is Number. Number must be in the range 0-255, or a run-time error will occur.

See also the ASCII Code table.

Chr function syntax has these named arguments:

Parameter

Description

Number

Required. The ASCII character code to return the character for.

For example:

  Chr(97)

Returns: a

See Also

SQL String Functions

Book Contents

Book Index