Re: cvs: phpdoc /en/reference/strings/functions trim.xml

From: Date: Thu, 29 Apr 2004 14:54:44 +0000
Subject: Re: cvs: phpdoc /en/reference/strings/functions trim.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969360328@lists.php.net to get a copy of this message
Mehdi Achour wrote:
didou Tue Apr 27 17:45:48 2004 EDT
  Modified files:                  /phpdoc/en/reference/strings/functions	trim.xml   Log:
ordered text (a note about a parameter was on top, before any other text) and redesigned the example [..skip..] @@ -80,19 +74,25 @@ <?php $text = "\t\tThese are a few words :) ... "; -$trimmed = trim($text); -// $trimmed = "These are a few words :) ..." -$trimmed = trim($text, " \t."); -// $trimmed = "These are a few words :)" -$clean = trim($binary, "\x00..\x1F"); +
+echo trim($text);           // "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) +$clean = trim($binary, "\x00..\x1F"); ?> ]]> [..skip..]
echo = trim($text, " \t."); // "These are a few words :)" What is it supposed to be ? -- Andrey Demenev aka Blindman demenev@on-line.jar.ru

« previous php.doc (#969360328) next »