I\'m looking for the Ruby method (1.9...) that can help me find the number of occurrences of a character in a string. I\'m looking for all occurrences, not just the first one.>
If you just want the number of a's:
puts "Melanie is a noob".count('a') #=> 2
Docs for more details.