Ruby/String/tr s

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

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

Версия 17:10, 26 мая 2010

Translate and strip

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