Got another ripper for you all ;-)
| From: | Liam MacKenzie | Date: | Thu, 15 Aug 2002 05:20:47 +0000 |
| Subject: | Got another ripper for you all ;-) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112692@lists.php.net to get a copy of this message | ||
Hey guys,
yep, another one...
I do this:
echo "-".$dir."-";
I get this:
-/home/eXtremail/mbox/i-redlands.net/9/1/liam
-
Note the new line at the end.
Is there a way to get rid of any new lines in a string?
Because this is making my directory listing go whacko.
Cheers,
Liam