remove a set of characters from a string