Spread WinRT Documentation
Spread WinRT Documentation / Formula Reference / Formula Functions / CODE
In This Topic
    CODE
    In This Topic

    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