Others may give advice on coding style, I'm off to lunch.
Phil
In reply to Re: Counting instances of words by philcrow in thread Counting instances of words by scarymonster