Showing only part of string
| From: | Dave Carrera | Date: | Fri, 07 May 2004 10:11:02 +0000 |
| Subject: | Showing only part of string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185599@lists.php.net to get a copy of this message | ||
Hi List,
$string = "This is a test string to <title>SHOW ONLY THIS BIT</title> of the
string";
I have tried strpos, str_replace and other string manipulation things but I
cant get my head around how to achieve showing the text with the
<title></title> tags of the string.
Any help is appreciated and I thank you in advance for any help given.
Thank you
Dave Carrera
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.677 / Virus Database: 439 - Release Date: 04/05/2004