SpreadJS Documentation
UNICODE
SpreadJS Documentation > Formula Reference > Formula Functions > UNICODE

This function returns the number (code) corresponding to first character of specified text.

Syntax

UNICODE(value)

Arguments

For the argument, specify a text value to obtain the Unicode value.

Remarks

If the passed arguments contain an invalid data type, this function will return an error.

Data Types

Accepts string data. Returns numeric data.

Examples

UNICODE("D") gives the result 68

UNICODE("tor") gives the result 116

See Also