local whoami = "ABC\n"local res, _ = whoami:gsub("^%s*(.-)%s*$", "%1")print("'" .. res .. "'")
Standard input is empty
'ABC'
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!