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
[EMAIL PROTECTED]

Reply via email to