Syntax
rtrim(string,[cutset])
Description
rtrim() returns a string with all trailing characters contained in cutset removed. If no cutset is defined, then all trailing white spaces will be removed.
Example
println(rtrim("!!!Hi There!!!", "!"))
println(rtrim("Hi There      "),"<-")
!!!Hi There
Hi There<-