So here's the deal. I have a string that looks like this: $str = 'me:foo bar foo bar foo bar foo bar <*fancy*delimiter*> you:bar foo bar foo bar foo <*fancy*delimiter*> me:foo bar foo bar foo bar foo bar <*fancy*delimiter*> you:bar foo bar foo bar foo <*fancy*delimiter*> me:foo bar foo bar foo bar foo bar <*fancy*delimiter*> you:bar foo bar foo bar foo <*fancy*delimiter*> '; PHP: And all I need to do, is pull out the last string after the delimiter... the you:bar foo bar foo bar goo... Can I use a negative limit on explode()?
Yeah, no kidding. The real issue is, that wont work. Because when you use a negative limit, all you do is drop the last piece. So I need to drop everything else except the last piece. Maybe I could explode it all, go to the last result of the array, and then use substr()?