Quick module to trim any characters from either side of a string.