string.split(/\n|\n\r/); Use this on for comma se...
# suitescript
s
string.split(/\n|\n\r/); Use this on for comma separated values