Re: Pulling out string from a string

From: Date: Tue, 04 May 2004 23:01:32 +0000
Subject: Re: Pulling out string from a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-185374@lists.php.net to get a copy of this message
* Thus wrote Ryan Schefke (ryanschefke@triomfgroup.com): > Can anyone help me with the code to pull out "clientxxx" from the below > string: > > /tgwedding/users/client1/sites/testgrabid.php $parts = explode('/', $path); echo $parts[2]; // client1 Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#185374) next »