Asc

Code = Asc ( String [ , Position ] )

Returns the ASCII code of the character at position Position in the string . If Position is not specified, the ASCII code of the first character is returned.

Example :

PRINT Asc("Gambas")
=> 71

PRINT Asc("Gambas", 3)
=> 109


Referenced by :