swapcase()
Instance Public methods
Converts characters in the string to the opposite case.
'El Cañón".mb_chars.swapcase.to_s # => "eL cAÃÃN"
Converts characters in the string to the opposite case.
'El Cañón".mb_chars.swapcase.to_s # => "eL cAÃÃN"
Please login to continue.