CODE

Returns the numeric Unicode map value of the first character in the string provided.

Sample Usage

CODE("a")

CODE(A1)

Syntax

CODE(string)

  • string - The string whose first character's Unicode map value will be returned.

Notes

  • Only the first character in string will be evaluated; others will be ignored.

See Also

CHAR: Convert a number into a character according to the current Unicode table.

Examples

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Google apps
Main menu
14402244412456643436
true
Search Help Center
true
true
true
true
true
35
false
false