how to check and remove a string contains a character in first and remove it php code example Example: remove first letter php <?php echo substr('abcdef', 1); // bcdef ?>