method String.trim Private String.trim(): string Removes the leading and trailing white space and line terminator characters from a string. Return Type string