From: Joel Pearson Date: 2013-01-30T08:24:53+09:00 Subject: Re: newbie question.. There's always the option of handy methods like split, uniq, scan, and length. I did it one line using a combination of those (and sort for neatness). -- Posted via http://www.ruby-forum.com/.