I need to read the sequence number and pad it with zeros to make a 4 digit field. I was planning on doing this.

 Code:
$sequence=split($file,"-")[1]


I just don't know how I would take whatever that number is and pad "0's" in front of it to make it a 4 digit number.

Thank you for the tip, I will try that.
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain