Re: [PHP4BETA] (fwd) Re: [PHP4BETA] replacing a substring
| From: | Thies C. Arntzen | Date: | Tue, 16 Nov 1999 20:36:39 +0000 |
| Subject: | Re: [PHP4BETA] (fwd) Re: [PHP4BETA] replacing a substring | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6323@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? :)
i'd say the more the better - the c-code is *far* faster when it comes to
substring operations!
tc
>
> -Andrei
> * Only 19,999 lines of C++ to my next ski trip... *
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany