trim() method removes whitespace from both sides of a string.
Note: This method does not alter the original string.
|String||Returns a new string representing the calling string stripped of whitespace from both ends.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.