in reply to Re: Substr warningin thread Substr warning
I always reset ch_count. I use this structure of code for a number of occasion and each time I reset ch_count.