Thanks - works great.....how would I used %w to catch strings including 
blanks. I tried %w('BOY HOOD',girl,cat dog) but that didn't work.

Joe

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