Returns a string where all whitespace characters have been removed from the end.
trimEnd()
A string with trailing whitespace removed.
" hello ".trimEnd()
" hello"