I have a comma separated string that I want to convert into an array so I can loop through it.
Is there anything built-in to do this?
For e.g. I have this string
var str = "January,February,March,April,May,June,July,August,September,October,November,December";
now want to split this by comma and store in Array object