John Colvin: > tup1.expand.only.countUntil(2).writeln; > > Admittedly, it's a little longer than expected :) A little shorter: tup1[].only.countUntil(2).writeln; Bye, bearophile