Re: String operation

From: Date: Wed, 04 Sep 2002 14:22:03 +0000
Subject: Re: String operation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115185@lists.php.net to get a copy of this message
$string3 = str_replace($string1,'',$string2); ??????? Op woensdag 04 september 2002 17:04, schreef Richard Fox: > Hi > > Given > > string1 = /home/web/ > string2 = /home/web/www/index.php > > How can I elegantly do an exclusive or of string1 with string2, that is, I > want to end up with > > string3 = www/index.php > > Thanks!

« previous php.general (#115185) next »