> ----------------------------------------------------------- String#count
>       str.count([other_str]+)   => fixnum
> ------------------------------------------------------------------------

I dont want to know how many characters are in a word i want to find the 
word itself so how would i set it up so I could see how many instances 
of the word is in the string? would it be something like

str.count([cat])

?

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