Is there any function that can take off the first insert number here chars from a string?
[man]substr[/man]
A quick and dirty example:
$string = "abcdefg"; $cut = 2; $newstr = substr($string,0,strlen($string)-$cut); print $newstr;