Add reference to an ASCII-table

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@54467 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jeroen van Wolffelaar 2001-08-12 23:23:07 +00:00
parent 7de99daa66
commit a3ef35fbdb

View file

@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.103 $ -->
<!-- $Revision: 1.104 $ -->
<reference id="ref.strings">
<title>String functions</title>
<titleabbrev>Strings</titleabbrev>
@ -196,6 +196,12 @@ $str .= chr(27); /* add an escape character at the end of $str */
$str = sprintf("The string ends in escape: %c", 27);
</programlisting>
</example>
</para>
<para>
You can find an ASCII-table over here: <ulink url="&url.asciitable;"
>&url.asciitable;</ulink>.
</para>
<para>
This function complements <function>ord</function>. See also
<function>sprintf</function> with a format string of
<literal>%c</literal>.
@ -1532,6 +1538,10 @@ if (ord($str) == 10) {
</programlisting>
</example>
</para>
<para>
You can find an ASCII-table over here: <ulink url="&url.asciitable;"
>&url.asciitable;</ulink>.
</para>
<simpara>
See also <function>chr</function>.
</simpara>