I know about rtrim, ltrim commands, but what I was interested in was a way to eat extra spaces also contained within strings.
myString = ' The dog is out side the house . ';
Is there a function that will keep one space between each word so the final result would be:
'The dog is outside the house.'