Thank you Jano, that worked a treat!

-- 
Posted via http://www.ruby-forum.com/.