Why does your code loop through the whole array when the index is known?
After Compline,Zaxo
In reply to Re: Replace a line with a new one by Zaxo in thread Replace a line with a new one by Donnie