Trim whitespace (space, tab, CR, LF) and additional defined chars from the end of the string.
The string to trim
More characters to trim from the string
xf.Str.TrimEnd("Hi there !! ") => Hi there !!
xf.Str.TrimEnd("Hi there !! ", "!") => "Hi there"