original string is \"a,d,k\" I want to remove all , and make it to \"adk\".
\"a,d,k\"
,
\"adk\"
I tried code below but it doesn\'t work.
You can try something like:
var str = "a,d,k"; str.replace(/,/g, "");