True Trim Function Trims BOTH Spaces and Tabs from String

This is a trim function that removes spaces AND optionally tabs from the left and/or right side of a string.