Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to erase spaces from a string javascript

str.replace(/s+/g, '') //Replace str with variable name you have string saved too.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #erase #spaces #string #javascript
ADD COMMENT
Topic
Name
4+5 =