(fwd) Re: [PHP4BETA] replacing a substring

From: Date: Tue, 16 Nov 1999 20:26:00 +0000
Subject: (fwd) Re: [PHP4BETA] replacing a substring
Groups: php.version4 
Request: Send a blank email to php-version4+get-6320@lists.php.net to get a copy of this message
There are 2 ways to go about it. 1) Add 4th argument to substr() which would replace the text delimited by offset and length. 2) Create a new function that does this. Opinions? ----- Forwarded message from Andrei Zmievski <zmievski@ispi.net> ----- Date: Fri, 12 Nov 1999 21:14:29 -0600 To: Lars Torben Wilson <torben@pinc.com>, Tom Fishwick <tom@zworg.com> From: Andrei Zmievski <zmievski@ispi.net> Cc: php4beta@lists.php.net Subject: Re: [PHP4BETA] replacing a substring 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. -Andrei -- 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 ----- End forwarded message ----- -Andrei * It's an emergent property of human minds to create. *

« previous php.version4 (#6320) next »