Added in 1.9.0

$asc(C)

Returns the ASCII value of the character C.

Also see $chr for the reversed version.

Parameters

Parameter Description
C The character.

Example

; Returns 65.
//echo -ag $asc(A)  

; returns 42
//echo -ag $asc(*)