I have event listings that look like this
PAPA ROACH AT THE PARAMOUNT IN HUNTINGTON ON APR 28, 2015
Im trying to remove everything after the last "ON"
$s="PAPA ROACH AT THE PARAMOUNT IN HUNTINGTON ON APR 28, 2015";
echo strstr($s, 'ON', true);
I came up with something like this but it removes everything after the first "ON" it detects, is there a way to run this backwards or tell to skip to the last "ON"