Lucee Function Reference

Function ASC

Determines the value of a character.

Example

asc(string string,[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
string string  Yes   A string  
position number  No 1 Position of the character