Tagged: substr()

php 0

How to remove the first character of string in PHP

The substr() function is the good solution: $NewString = substr($OldString, 1); Strings are indexed starting from 0, and substr() functions will start from second parameter to store new value into into variable. So the...