CODE

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

Syntax

CODE("Text")

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

大於 127 的代碼會視系統的字元對映而定 (例如 iso-8859-1、iso-8859-2、Windows-1252、Windows-1250),因此無法移植。

Example

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

note

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


Please support us!