CODE
Spread WinRT Documentation > Formula Reference > Formula Functions > CODE

Summary

This function returns a numeric code to represent the first character in a text string. The returned code corresponds to the Windows character set (ANSI).

Syntax

CODE(text)

Arguments

The argument is the text from which you want to determine the code of the first character.

Data Types

Accepts string data. Returns string data.

Examples

CODE(H6)

CODE(R6C8)

CODE(""B"") gives the resultt 66

CODE(""Buffalo"") gives the result 66

See Also