StringTrim differently from left and right

Is there a function to trim a string with a different pattern for the left and right side? (I seem to remember it but perhaps I am thinking of another language because I can’t find it in the documentation.)