Text.Trim() does an excellent job of getting rid of things like
" leading spaces"
and
"trailing spaces "
but unlike its’ Excel cousin it doesn’t handle
"excess inner spaces"
at all.
Granted these problems aren’t as ubiquitous as the first two (which show up in hand generated Excel data and web data all the time), but if you need them gone you need them gone. In this video, we show you a cool way to leverage Text.Split() and Text.Combine() to isolate shed those pesky double spaces and knock them out of your precious data for good.
Happy Reporting!!