18
We already now how to strip a string from its spaces.
However, as proper gentlemen, we should rather undress it.
Undressing a string is the same as stripping it, only more delicate. Instead of removing all leading and trailing spaces at once, we remove them one by one. We also alternate betwe...