MindFusion.Wpf Pack Programmer's Guide
CODE

Returns the numeric value corresponding to the first character of the specified text value.

Syntax  Copy Code

CODE( Text text ) Integer

Parameters

text
Required. The text for which to return the code of the first character.

Remarks

If text is empty, that is, contains no characters, the function returns zero.

Example

Formula  Copy Code

=CODE("M")
=CODE("Text")

See Also

Function Reference
CHAR Function