Pulling out string from a string
| From: | Ryan Schefke | Date: | Tue, 04 May 2004 21:35:55 +0000 |
| Subject: | Pulling out string from a string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185355@lists.php.net to get a copy of this message | ||
Can anyone help me with the code to pull out "clientxxx" from the below
string:
/tgwedding/users/client1/sites/testgrabid.php
I use $PHP_SELF to get the directory structure of the page and store that
string as a variable. Then, I want to pull out the string "clientxx", where
"xx" can be any given number.
Thanks,
Ryan