Remove All After Deliminator PHP

Posted by Belgin Fish on Stack Overflow See other posts from Stack Overflow or by Belgin Fish
Published on 2010-04-06T22:01:37Z Indexed on 2010/04/06 22:03 UTC
Read the original article Hit count: 317

Filed under:
|

Hi, I'm just wondering how I could remove everything after a certain deliminator in PHP

ex:

Posted On April 6th By Some Dude

I'd like to have it so that it removes all the text including, and after, the deliminator "by"

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about string-manipulation