Search
The trim() method removes empty spaces from the beginning and the end of a string, also known as trailing spaces.
trim()