Grabbing string between two other strings.
| From: | olinux | Date: | Fri, 29 Jun 2001 01:50:50 +0000 |
| Subject: | Grabbing string between two other strings. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9961@lists.php.net to get a copy of this message | ||
Hey all. I am searching for a function that will return a string that is
between two other strings:
For example:
The end result is: $text is 'This is the text I want'
Here is the beginning string.
<font face="arial">This is the text I want</font>
The function would take something like ($name_of_result_between_two_strings,
$first_string, $second_string)
Is there such a function?
Thank you,
olinux
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com