While trim() is useful, even more useful would be the ability to remove arbitrary characters from either or both ends of a string. I’d suggest something like:
newstr = oldstr.Trim (trstr)
to remove any of the characters in
trstr from both ends of
oldstr. Before submitting a Feature Request, I’m curious whether anyone else would find it useful.