DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
replace spaces with dashes
const text = "codetogo saved me tons of time"; text.replace(/ /g, "-");
Source by codetogo.io #
PREVIOUS
NEXT
Tagged:
#replace
#spaces
#dashes
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit