Which method can be used to remove any whitespace from both the beginning and the end of a string?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
strip()
Answer option 2
trim()
Answer option 3
cut()
Reference Link
English