Re: Counting words for visual details
- From: Pål Bergström <pal@xxxxxxxxxxxxxxxx>
- Date: Mon, 28 Sep 2009 00:23:05 -0500
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/.