Ascii

Summary

The Ascii function returns the ASCII code value of the leftmost character of the string as an integer.

Syntax

Ascii(<string_exp>)

Return Type

Integer

Details

 

Examples

eval Ascii('A');
97
 
select Ascii('a') from Empty(rows=1);
65

Related Functions

Char