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