Jake and Clifford,

Both methods work wonderfully, thanks for the help, this was bothering 
me for 2 hours. Sorry for the bother, Clifford, I tried your first 
suggestion, but I had no idea about the necessary  <<. Thanks again, 
much appreciated!

Adam

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