note 9010 added to ereg_replace
| From: | ronaldr at uio dot satnet dot net | Date: | Wed, 11 Oct 2000 09:45:53 +0000 |
| Subject: | note 9010 added to ereg_replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6375@lists.php.net to get a copy of this message | ||
How can I replace ONLY the first match in a string? By default it always uses the GLOBAL
REPLACEMENT???
http://www.php.net/manual/function.ereg-replace.php