I read from a csv file, and want to split the long string that I get using stringWithContentsOfFile, which is a multi line string, with individual lines representing rows in
Swift 3 version:
let lines = yourString.components(separatedBy: .newlines)
Nice and short.