Re: [PHP4BETA] replacing a substring
| From: | Andrei Zmievski | Date: | Tue, 16 Nov 1999 22:45:25 +0000 |
| Subject: | Re: [PHP4BETA] replacing a substring | ||
| References: | 1 2 3 4 5 6 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6335@lists.php.net to get a copy of this message | ||
On Fri, 12 Nov 1999, Andrei Zmievski wrote:
> At 06:45 PM 11/12/99 -0800, Lars Torben Wilson wrote:
> >Ah. For this, I think you're stuck with just cutting up the string and
> >replacing on the part you want, unless someone decides to add this
> >functionality to PHP. Make a function out of it and stick it
> >in a library file and you're all set.
>
> I'll see about making this possible.
There is a new function for this now, substr_replace().
-Andrei
* I wish life had an UNDO function. *