Mega Code Archive
Categories
/
Ruby
/
String
Use a method called match, provided by the String class
puts "String has vowels" if "This is a test".match(/[aeiou]/)