note 19805 deleted from function.eregi-replace by alindeman
| From: | alindeman@php.net | Date: | Mon, 11 Mar 2002 21:33:44 +0000 |
| Subject: | note 19805 deleted from function.eregi-replace by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-27634@lists.php.net to get a copy of this message | ||
Well what's the problem with using:
str_replace(' ',' ',$string)
That would replace every occurence of 2 spaces, with 1 space, so if you had a string with 10 spaces,
it would quickly be shrunk down to 1 space.
-B. Claydon