From: "Pål Bergström" Date: 2009-09-28T14:23:05+09:00 Subject: Re: Counting words for visual details Ehsanul Hoque wrote: > word_array = ['Word1', 'Word2', 'Word3'] #query here instead > word_array.size # => 3 Thanks. I forgot to say that I want to count the occurrence of each of the 30 words. E.g. how many Word1 have they selected for Linearity? How many Word1 have they selected for Symmetry? And so on. -- Posted via http://www.ruby-forum.com/.