Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

remove first character from string

<?php
    $str = "geeks";
  
    // Or we can write ltrim($str, $str[0]);
    $str = ltrim($str, 'g');
  
    echo $str;
?>
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #remove #character #string
ADD COMMENT
Topic
Name
4+5 =