note 29422 added to function.strpos
| From: | robert at interjinn dot com | Date: | Thu, 13 Feb 2003 07:00:29 +0000 |
| Subject: | note 29422 added to function.strpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43866@lists.php.net to get a copy of this message | ||
Hmmm to normalize spaces I would just use the following:
$string = ereg_replace( '[[:space:]]+', ' ', trim( $string ) );
--
http://www.php.net/manual/en/function.strpos.php
http://master.php.net/manage/user-notes.php?action=edit+29422
http://master.php.net/manage/user-notes.php?action=delete+29422
http://master.php.net/manage/user-notes.php?action=reject+29422