DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove last comma from string javascript
str = str.replace(/,s*$/, "");
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#comma
#string
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+4 =
Submit