This is not the same behavior b/c iter.next() moves the cursor to the next element. I.e if my iterator  contains [a, b] and my delimiter is ".", the original behavior would give a.b while this change would result in .a.b