Stevie Broadfoot wrote: > actually scrap that, it works perfectly :) thank you very much for your > help. One last question, does this only work on lists? or will tuples > work too and what else? It will work on any sequence including lists and tuples. Kent