rtrim()# Syntaxrtrim( string ) Returns# Returns the string with all trailing whitespace removed. Parameters# Parameter Description string The input string.