String.trimEnd

Trims white space off the end of a string.

o.String.trimEnd()

See also

Class String