asc

Determines the ASCII value of a character.

asc(string) → returns numeric

asc Argument Reference

string string
Required

Examples sample code invoking the asc function

x = chr( 8361 ); 
 writeoutput( 'character: #x#' ); 
 x = asc( x ); 
 writeoutput( '<br>Unicode value: #x#');

Fork me on GitHub