DEV Community

loading...

Discussion on: Daily Challenge #148 - Disemvowel Trolls

Collapse
yechielk profile image
Yechiel Kalmenson

Ruby:

def disemvowel(string)
    string.gsub(/[aeiou]/i, "")
end