Posted by Philip Hallstrom on 09/02/05 21:47
> Hi there!
>
> Anyone that has an easy solution to this?
>
> I have a string filled with content. A lot of content is before Jumping Jack
> flash
>
> I want the $content - string to start at Jumping Jack flash
>
> Is there any smart way of doing this?
Use strstr() to find the first occurence of "Jumping Jack flash".
Then use substr() to extract from that point to the end of the string into
a new string.
http://us2.php.net/strstr
http://us2.php.net/substr
-philip
[Back to original message]
|