Re: Content - strip...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux