how to remove space from start and end in string in javascript code example
Example 1: js remove space from string
string.split(" ").join("")
Example 2: delete space from string javascript
var str = "470 ";
str.trim();
string.split(" ").join("")
var str = "470 ";
str.trim();