Ruby/String/tr s

Материал из Wiki.crossplatform.ru

(Различия между версиями)
Перейти к: навигация, поиск
м (1 версия)
 

Текущая версия на 17:56, 13 сентября 2010

Translate and strip

puts "bead".tr_s("aeiou", " ")     # => "b d": convert and remove duplicates