There are similar questions in SO, but I couldn\'t find any exactly like this. I need to remove everything up to (and including) a particular delimiter. For example, given t
$str = "File:MyFile.jpg"; $position = strpos($str, ':');//get position of ':' $filename= substr($str, $position+1);//get substring after this position