Documentation/How Tos/Calc: CODE function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 19:27, 17 January 2008 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


CODE

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

Syntax:

CODE(text)

returns the numeric code for the first character of the text string text. The code is found from the code table currently loaded.

Example:

CODE("H")

returns 72, the character code for "H".

CODE("Hello")

also returns 72.

See also:

CHAR

Text functions

Personal tools