RTRIM r = RTRIM (s) Removes trailing white-spaces from string s. Example s = " abcd " print ">" + s + "<" ' Output: > abcd < print ">" + rtrim(s) + "<" ' Output: > abcd<