RTrimAny$

Takes two parameters, Source, Search

Description:

Trim's the Source value beginning with the right-most (end) character. This command operates similarly to the RTrim$ command, except it does not matter which order the Search parameters are declared, as long as they are within the range of characters and are located on the right-most part of the Source parameter.

Example:

[New] source = "abcdefg"
[New] searchVal = "gfe"
[New] result

result = RTrimAny$ source, searchVal

Html result 'Result is equal to "abcd"