Project

General

Profile

Added in 1.9.0

$asc(C)

Returns the ASCII value of the character C.

Also see $chr for the reversed version.

Parameters

C - The character.

Example

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

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

Updated by Per Amundsen over 2 years ago · 4 revisions

Also available in: PDF HTML TXT