in reply to Re: Test for the last element in a foreachin thread Test for the last element in a foreach