[Solved] PHP: get every character of a string from 2nd character onwards [closed]
Use substr. The first value is the string, the second is the starting character position (in your case, 2 is in position 0, the – is in position 1, etc.). You can also specify a length as a third parameter if you so choose. $s = substr($str, 2); solved PHP: get every character of a … Read more