Which of the following methods is used to remove whitespace from both ends of a string?
removeSpaces()
strip()
trim()
erase()