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