<?php $string = "Hello world; This is a nice day; after"; $str = explode(";",$string); echo substr($string, 0, strrpos($string, ";"));
You have javascript disabled. You will not be able to edit any code.