to erase a character from a string in php code example Example: remove first letter php <?php echo substr('abcdef', 1); // bcdef ?>