Project

General

Profile

Actions

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(*)

Updated by Per Amundsen almost 2 years ago · 5 revisions

Also available in: PDF HTML TXT