Whoops The code I just posted only tested if all the subsequent elements were subsets of the first, it didn't check all the sequential subsets! Too cold to think straight here today... Baz