convert string without spaces into a sentences with words with spaces