CHARACTER

Returns the character for the corresponding ascii value.

Syntax

= CHARACTER(value)

Parameters

value

A value which is to be converted to its equivalent character. The value can be specified as an integer (e.g., 37) or as a string (e.g., “A”).

Return Type

Character.

In the case of an error, the function displays an error message: “CHARACTER(value): Error message”

Examples

Example

Returns

= Character(“A”)

‘A’

= CHARACTER(37)

‘%’

= CHARACTER(1234)

’Ӓ’

= CHARACTER(“abcd”)

Displays message “CHARACTER(abcd): String must be exactly one character long.”