$_ = " Hallo World\n This is demo \n";print;s/\S\K +/ /g;print;
Standard input is empty
Hallo World This is demo Hallo World This is demo
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!