I see from your previous questions that you know how to read in a list of files into an array. So I presume you're asking about the second bit, how to delete the last four characters from a string. For that, have a look at substr with a negative second argument.
Of course, if my presumption is wrong, why don't post what you've tried so far?
In reply to Re: Delete Trailing Characters
by FunkyMonk
in thread Delete Trailing Characters
by muizelaar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |