Use split/join for spaces as well.