Question: I am trying to use a CSV to store an array. I figured how to delimit by comma on saving, but can’t do the opposite while loading.
So I have a CSV file that contains an array, something like: asd,asdll,akjsdk
let text = String(contentsOfFile: path, encoding: NSUTF8StringEncoding, error: &error)
but when I parse the CSV to a String var and then append it to an array, instead of getting
3 items I get 1 item that is “asd,asdll,akjsdk”