php remove beginning of string code example
Example 1: php pop off the first character of string
$str = substr($str, 1);
Example 2: php remove prefix from string
$str = preg_replace('/^bla_/', '', $str);
$str = substr($str, 1);
$str = preg_replace('/^bla_/', '', $str);