DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javacript string add space after commas
"1,2, 3,4,5".replace(/,(?=[^s])/g, ", "); > "1, 2, 3, 4, 5"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javacript
#string
#add
#space
#commas
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit