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/.
.
- References:
- Counting words for visual details
- From: Pål Bergström
- Re: Counting words for visual details
- From: Ehsanul Hoque
- Counting words for visual details
- Prev by Date: Re: Getting a valid URL from a command line
- Next by Date: [OT] Internationalization, Localization and Encodings
- Previous by thread: Re: Counting words for visual details
- Next by thread: Checkbox - Dynamically assign id using for loop
- Index(es):