Mega Code Archive
Categories
/
Ruby
/
String
Translate and strip
puts "bead".tr_s("aeiou", " ") # => "b d": convert and remove duplicates