TrimEnd

Removes all trailing white space characters from the input string.

SYNTAX
TrimEnd(inString) 
ARGUMENTS inString The input string to trim
RETURN The string that remains after all white space characters are removed from the end of the given input string.
EXAMPLE
retString = TrimEnd(" abc XYZ ") 
; Result: retString = " abc XYZ"