>
>Do you think your version is better and more optimized or should I leave the code I already put in place?
>
>Thanks again.
>
Frankly, I don't know how the two approaches would escalate. You can rewrite my function to match the interface of yours, run both of them against a fair amount of real data, and check on the results. I would be curious to see what would come out of the test...
----------------------------------
António Tavares Lopes