Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js remove end comma

str = str.replace(/,s*$/, "");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #remove #comma
ADD COMMENT
Topic
Name
2+3 =