I have a string that looks like this:
$str = \"bla_string_bla_bla_bla\";
How can I remove the first bla_; but only if it\'s fo
bla_
function remove_prefix($text, $prefix) { if(0 === strpos($text, $prefix)) $text = substr($text, strlen($prefix)).''; return $text; }