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