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
Личные инструменты |
ПросмотрыRuby/String/tr sМатериал из Wiki.crossplatform.ruВерсия от 17:10, 26 мая 2010; (Обсуждение)
Translate and stripputs "bead".tr_s("aeiou", " ") # => "b d": convert and remove duplicates |