From: Nick Bo Date: 2008-09-19T07:04:03+09:00 Subject: Re: Array Count Issu > ----------------------------------------------------------- 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/.