php remove first character of string if there are code example
Example 1: remove first letter php
<?php
echo substr('abcdef', 1); // bcdef
?>
Example 2: php pop off the first character of string
$str = substr($str, 1);
<?php
echo substr('abcdef', 1); // bcdef
?>
$str = substr($str, 1);