swapcase()
Instance Public methods
Converts characters in the string to the opposite case.
1 | 'El Cañón ".mb_chars.swapcase.to_s # => " eL cAÃà N " |
Converts characters in the string to the opposite case.
1 | 'El Cañón ".mb_chars.swapcase.to_s # => " eL cAÃà N " |
Designed by : w10schools
service@w10schools.com
Please login to continue.