Ruby/String/downcase
Материал из Wiki.crossplatform.ru
(Различия между версиями)
ViGOur (Обсуждение | вклад) м (1 версия) |
Текущая версия на 17:56, 13 сентября 2010
Adding a call to capitalize onto the statement.
puts "YOU KNOW IT".downcase.capitalize
Call downcase function from string class
"Test".downcase
concatenate a string to the result
taf = "That"s ".downcase * 3 + "all folks!" taf.capitalize