INFO

This page was originally generated from official documentation.

The UNICODE function returns the decimal Unicode value of the first character of the text.

Syntax

UNICODE(text)
PartDescription
textThe string containing the character to be evaluated.

Sample formulas

UNICODE(β€œA”)

UNICODE(123)

UNICODE(πŸ˜€πŸ˜€πŸ˜„)

Notes

  • The UNICODE function will only work properly if the input string is not empty and the first character has a Unicode representation.
  • Numbers may be passed directly into the UNICODE function and will be parsed as a string.

Examples

UNICODE : General Usage

AB
1ResultFormula
265=UNICODE(β€œAlphabet”)
349=UNICODE(123)
4128512=UNICODE(πŸ˜€πŸ˜€πŸ˜„)

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

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