I'd like to take a chunk of text and search for a particular string or phrase and then split the text here into two chunks. For example:
$phrase="This is a test.bbbNew phrase starts here"
I'd like to be able to parse $phrase and when it comes to bbb have it recognize that this is a new phrase so that we end up with
$phrase1="This is a test." and
$phrase2="New phrase starts here"
Thanks!


Reply With Quote
Bookmarks