User Tools

Site Tools


uphp:functions:chr

This is an old revision of the document!


chr

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Return character for an ASCII code

Description

string chr ( int $code )

Parameters

code: ASCII code number (0-255)

Return Value

A one-character string containing the ASCII character referenced by code

Example

<?
$a=chr(65);
print($a); //result is 'A' which is the ASCII character number 65
?>

See Also

ord() - Return ASCII code of first character in a string

charat() - Return ASCII code for character in string at index

uphp/functions/chr.1488373523.txt.gz · Last modified: 2021/09/13 05:56 (external edit)