Graham Foster wrote: > thanks to everyone who replied. It is really interesting seeing the > diversity of solutions for a simple probelm. I must look into the . > compact and .collect methods as they look intriging. Some of the > answers (Sorry Florian) were rather too advanced for me. (I really > did mean Newbie). If you have any questions I'd be pleased to answer them. :) > Thx > Graham Regards, Florian Gross