toggleCASE by tehtmi

while""do i=1 print((io.read():gsub("%u%l*",function(s)i=3-i return ({s.lower,s.upper})[i](s)end)))end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page