$data = "123_String"; $whatIWant = substr($data, strpos($data, "_") + 1); echo $whatIWant;
$arr = explode("/", $string, 2); $first = $arr[0];