Join Slack
Powered by
How do I remove a comma when getting/setting value...
# general
k
KingDaGreat
09/09/2021, 6:54 AM
How do I remove a comma when getting/setting values in suitescript 1.0.. so that when I export it on csv, it won't read it as a delimiter?
b
battk
09/09/2021, 6:57 AM
String.prototype.replace()
battk
09/09/2021, 6:59 AM
fair chance that you can
quote your csv values
so you wouldnt need to replace
k
KingDaGreat
09/09/2021, 7:00 AM
Hmm I'll think I'll try that second option
b
battk
09/09/2021, 7:01 AM
consider using
https://www.papaparse.com/
k
KingDaGreat
09/09/2021, 7:40 AM
I actually switch back to replace JS function as I found that there are some quotes too on the value which I was trying to manipulate
KingDaGreat
09/09/2021, 7:41 AM
Hmm let me check that papaparse too
9
Views
Open in Slack
Previous
Next