trim()# Syntaxtrim( string ) Returns# Returns the string with all leading and trailing whitespace removed. Parameters# Parameter Description string The input string.