DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to remove spaces from strings javascript
var str = '/var/www/site/Brand new document.docx'; document.write( str.replace(/s/g, '') );
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#spaces
#strings
#javascript
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit