(PHP 3, PHP 4 )
Chr -- Return a specific character
Description
Returns a one-character string containing the character specified
by ascii.
Example 1. Chr() example
$str .= chr (27); /* add an escape character at the end of $str */
/* Often this is more useful */
$str = sprintf ("The string ends in escape: %c", 27);
|
|
This function complements
ord(). See also
sprintf() with a format string of
%c.
HIVE: All information for read only. Please respect copyright! |
|