BrianGrant's avatar
BrianGrant
Icon for Advocate IV rankAdvocate IV
9 years ago

Removing Excess Spaces Between Words AKA Inner Trim

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".  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!

 

No RepliesBe the first to reply