Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove commas from string javascript

var stringWithCommas = 'a,b,c,d';
var stringWithoutCommas = stringWithCommas.replace(/,/g, '');
console.log(stringWithoutCommas);
Source by oamatech.com #
 
PREVIOUS NEXT
Tagged: #remove #commas #string #javascript
ADD COMMENT
Topic
Name
9+6 =