js delete gaps at the beginning and end of a word code example
Example: suppress spaces in front and in the end of a string javascript
var hello = ' Hello there! ';
// returns "Hello there!"
hello.trim();
var hello = ' Hello there! ';
// returns "Hello there!"
hello.trim();