note 23657 added to function.ereg-replace
| From: | bilou_99 at caramail dot com | Date: | Wed, 24 Jul 2002 11:18:36 +0000 |
| Subject: | note 23657 added to function.ereg-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33488@lists.php.net to get a copy of this message | ||
hello!
my question is simple but i can't find good solution!
so, in a string, I want to delete the letters that appear twice or more.
exemple: jackkksonn ----> jackson
Someone can give me a php syntax to do it??
thankx
--
http://www.php.net/manual/en/function.ereg-replace.php
http://master.php.net/manage/user-notes.php?action=edit+23657
http://master.php.net/manage/user-notes.php?action=delete+23657
http://master.php.net/manage/user-notes.php?action=reject+23657