note 6240 modified in trim by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 18:36:25 +0000 |
| Subject: | note 6240 modified in trim by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1402@lists.php.net to get a copy of this message | ||
An example
<?php
$stri = "\nThis string has \ whitespace\n\n\n";
echo trim($stri);
?>
Hope that helps..
http://www.php.net/manual/function.trim.php