Search the reference...
/
method
Removes the trailing white space and line terminator characters from a string.