Join Slack
Powered by
<@U33FQ5WSD> try this. a = '"682","784","787","788...
# suitescript
f
Felipe Chang
12/07/2017, 11:29 PM
@irurzo
try this. a = '"682","784","787","788"' //using single quotes b = a.split(",") c = b.map(function(e){return e.replace(/"/g,"")}) c => ["682", "784", "787", "788"]
Open in Slack
Previous
Next