char()

Scalar. Returns the characters responding to one or more Unicode code points, or the UTF-8 code points if the -U server option is specified.

Syntax

char ( expression [,...] )

Parameters

expression

One or more Unicode code points. The arguments must be integers.

Usage

An invalid code point, 0, or NULL returns NULL. The function returns a string.

Example

char (68) returns 'D'.

char(68, 68, 68) returns 'DDD'.