string.asc()

Determines the value of a character.

string.asc( position=number )

Returns: Number

Argument Description
position
number, optional

Position of the character

Examples

dump("Lucee".Asc()); // 80
dump("Lucee".Asc(3)); // 223

See also