CHAR Function

Contido

# CHAR

Converts a number into a character according to the current code table. The number can be a two-digit or three-digit integer number.

Os códigos maiores de 127 poden depender do mapa de caracteres do sistema (por exemplo, iso-8859-1, iso-8859-2, Windows-1252, Windows-1250) e, por este motivo, poden non ser portábeis.

#### Sintaxe

CHAR(Number)

Number is a number between 1 and 255 representing the code value for the character.

#### Exemplo

=CHAR(100) returns the character d.

="abc" & CHAR(10) & "def" inserts a newline character into the string.

Temas relacionados

CHAR wiki page.

Funcións de texto