In VB.NET, there is this function:
which removes all leading and trailing occurrences of a set of characters specified in an array from the current String object.
It looks like there are no RTrim and LTrim equivalents. I need function
that removes the specified array of characters from the end of a string.