Remove spaces and/or line breaks from string
By using the while loop with the XBuffer one can remove spaces and line breaks.
You can find the example subset in the attachments.
In case you have a longer string, just increase the MaximumRepetitions property on the while loop itself. The default value is 30.