Project

General

Profile

Actions

$asc » History » Revision 4

« Previous | Revision 4/5 (diff) | Next »
Per Amundsen, 08/12/2015 10:52 PM


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 9 years ago · 4 revisions

Also available in: PDF HTML TXT