fixing example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@157509 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-04-29 15:01:54 +00:00
parent 25ab1c6373
commit 275b566cee

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.trim">
<refnamediv>
@ -76,7 +76,7 @@
$text = "\t\tThese are a few words :) ... ";
echo trim($text); // "These are a few words :) ..."
echo = trim($text, " \t."); // "These are a few words :)"
echo trim($text, " \t."); // "These are a few words :)"
// trim the ASCII control characters at the beginning and end of $binary
// (from 0 to 31 inclusive)