/** * Removes all characters from the end of a string that are non-printable, such as whitespace. * * @return CUStringObject The trimmed string. */ public function trimEnd() { return CUString::trimEnd($this); }