Returns the string without any trailing whitespace.
As trim, but only removes trailing whitespace.
/** * Returns the string without any trailing whitespace. * * As [trim], but only removes trailing whitespace. */ String trimRight();