Ahh i didnt know you could use scan like that with blocks and 
variables...thats going to come in very handy indeed.

Ill give that a go - many thanks James!
-- 
Posted via http://www.ruby-forum.com/.