remove first letter php
snippet in php

remove first letter php

user9527

<?php
echo substr('abcdef', 1);     // bcdef
?>

php pop off the first character of string

user6858

$str = substr($str, 1);

php string cut first x characters

user7093

$str = "The quick brown fox jumps over the lazy dog."
$str2 = substr($str, 4); // "quick brown fox jumps over the lazy dog."