that will give you $string containing all but the last 4 characters of what it started with.$string = substr($string, 0, -4);
HTH.
In reply to Re: chopping lots of characters
by hmerrill
in thread chopping lots of characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |