Ruby/String/swapcase
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
Call swapcase function from string class
puts "Test".swapcase
switch an English alphabet list that starts with lowercase first to a string that starts with uppercase first:
puts "aAbBcCdDeEfFgGhHiI".swapcase