Functions

charToNum

Supported By

Syntax

[the] charToNum of factor

charToNum ( expression )

Factor and expression yield a character.

Example

put the charToNum of "a" into it -- yields 97

Description

The charToNum function returns the equivalent value of the character passed to it in the text encoding specified by the textEncoding property.

Note

If more than one character is passed, charToNum returns the value of the first character.

See Also

numToChar