This is an old revision of the document!
WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Return the ASCII character number for a character
$char: string containing 1 character
ASCII code number (0-255) of the passed string. If the string length is greater than 1 it will return 0.
<? $a=chr(65); $o=ord($a); print("ASCII Character ".$a." has code ".$o); // result is 'A' which is the ASCII character number 65 ?>