Something like trim()
| From: | Bobo Wieland | Date: | Thu, 30 Jan 2003 07:26:00 +0000 |
| Subject: | Something like trim() | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18212@lists.php.net to get a copy of this message | ||
Is there an easy way to get rid off white space characters in a string? Like
trim() but for the whole string and leaving single white spaces as they are
but removing all occurences of '\t','\n' and ' '(leaving a single
'
')...
I've tried the manual but couldn't find anything...
. bobo . www.elstudion.com . www.elstudion.com/bobo .