Function
string.swapcase

Signature

swapcase(s)

Documentation String

swapcase(s) -> string

Return a copy of the string s with upper case characters converted to lowercase and vice versa.