Scrub function
This is a simple one, but comes in useful any time I need to deal with data from a remote source. I’m not saying all data that I don’t produce myself is garbage, but I am winking enthusiastically while suggesting it. The main culprits are whitespace and a couple of special characters. Whitespace alone isn’t […]