Can I get the text from a string that is between two strings?
| From: | Basurero | Date: | Mon, 06 Nov 2000 14:03:59 +0000 |
| Subject: | Can I get the text from a string that is between two strings? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23874@lists.php.net to get a copy of this message | ||
I need to get from a string the text between two xml tags.
For example: The large string is:
<article>
<title>here goes title</title>
<txtbody>Here goes the body of the article</txtbody>
</article>
I need to get the text between <txtbody> and </txtbody> without
parsing th entire string.
Thanks a lot
--
Lucas 'Basurero' Vieites
basurero arroba jazzfree punto com
basurero at jazzfree dot com