A function to merge space-separated words (like 'W A R N I N G')
As an input it takes a text (string) in which there may appear space-separated words:
- 'This is an E X A M P L E of a space-separated text.'
It returns the same text without additional spaces:
- 'This is an example of a space-separated text.'