Takes two parameters, Source, Search
Description:
Trim the Source value by matching a character or series of characters beginning on the right (end) of the Source parameter.
Example:
[New] source = "abcdefg"
[New] searchVal = "efg"
[New] result
result = RTrim$ source, searchVal
Html result 'Result is equal to "abcd"