Contido

# CODE

Returns a numeric code for the first character in a text string.

#### Sintaxe

CODE("Text")

Text is the text for which the code of the first character is to be found.

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.

#### Exemplo

=CODE("Hieronymus") returns 72, =CODE("hieroglyphic") returns 104.

The code used here does not refer to ASCII, but to the code table currently loaded.

Temas relacionados

CODE wiki page.

Funcións de texto