g | x | w | all
Bytes Lang Time Link
028Tcl170112T030412Zsergiol
022Haskell170112T024930Zxnor
004Pyth170112T025123Zbusukxua
008Retina170112T025044ZDigital
007V170112T024938ZDJMcMayh
003Jelly170112T024816Zlynn
036Python170112T024704Zorlp

Tcl, 28 bytes

puts [split [join $s ""] ""]

Try it online!

Haskell, 22 bytes

(((:" ")=<<)=<<).words

Laikoni saved 2 bytes with a nice use of words. Previous answer:

(=<<)(:" ").filter(>' ')

Try it online

Pyth, 4 bytes

jdsc

Splitting on whitespace and then joining seems shorter than removing the spaces.

In pseudocode:

'     ' d,Q = " ",input()  # preinitialized variables
'jd   ' d.join(
'  s  '     sum(
'   cQ'         Q.split() ))

Try it online!

Retina, 8

 

.
$0  

Whitespace is significant - there are single spaces at the end of the first and last lines.

Try it online.

V, 7 bytes

Íó*/ 
X

Try it online!

Just a straightforward regex, and an "X" to delete one leading space.

Jelly, 3 bytes

ḟ⁶K

ilter out spaces () then join by space (K).

Try it online!

Python, 36 bytes

lambda s:" ".join(s.replace(" ",""))