Re: [PHP4BETA] (fwd) Re: [PHP4BETA] replacing a substring
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] (fwd) Re: [PHP4BETA] replacing a substring | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6324@lists.php.net to get a copy of this message | ||
On Tue, 16 Nov 1999, Andrei Zmievski wrote:
> On Tue, 16 Nov 1999, Rasmus Lerdorf wrote:
> > I say make a new function and call it cut() and mimic the behaviour of the
> > Unix cut command. substr() is not an intuitive place for string
> > replacement.
>
> Full functionality of cut or just character ranges? :)
Actually, cut isn't that analogous either. Cut doesn't replace
stuff. Never mind.
-Rasmus