How to remove the first character of string in PHP?

 <?php 

$str = "geeks"; 

        // Or we can write ltrim($str, $str[0]); 

$str = ltrim($str, 'g'); 

        echo $str; 

?> 

Popular posts from this blog

SQL In Static Id Wise Record Skip After Show Result