Lucee object methods reference

Object Method String.asc

Determines the value of a character.
String.asc([number position]):number

Category

string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
position number  No 1 Position of the character