count Vowels regex

Submitted over 2 years Ago

def count_vowels(string) string.scan(/[aeiou]/).size end

0 Comments