Joe Collins wrote in post #1021281:
> 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.

1) Get rid of the commas.

2)  %w(BOY\ HOOD girl cat dog)

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