asc

ASCII value.

Syntax

asc(expr)

Argument

expr
A valid string expression.

Example

Templex Expression Result
{asc(" ")} 32
{asc( "J" )} 74
{abs( "5" )} 53

Comments

Returns the ASCII value of the first character in the string expr.