Advertisement
Guest User

Untitled

a guest
Apr 8th, 2013
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
  2.  
  3. > print(((io.read"*l"):gsub("%w+",function(s)local r=""for i=1,#s do r=("")[s:byte(-i)>96 and"lower"or"upper"](s:sub(i,i))..r end return r end)))
  4. Don't touch that!
  5. Nod't hcuot taht!
  6.  
  7. > -- should be: Tno'd hcuot taht!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement