Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove space from string javascript

var str = "       Hello World!        ";
alert(str.trim());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #space #string #javascript
ADD COMMENT
Topic
Name
4+4 =