From: "Matthew K. Williams" Date: 2009-06-12T03:02:26+09:00 Subject: Re: Idiomatic way to detect first/last iteration? On Fri, 12 Jun 2009, Pieter V. wrote: > That won't actually work if your array contains duplicate elements... > True -- however, given the scenario that the querent provided, it should work..... Hmmm... could also set a flag, I guess, if you're that opposed to using index. Matt