I am reading through a csv file. Each line contains a comma delimeted string. I am trying to convert the string into an array in order to update a few strings with new values. I am using
Lines(0) = "test, "The quick brown fox, ran through a log", Another sentence"
words = Lines(0).Split(New Char() {","c})
The "The quick brown fox, ran through a log" is creating 2 entries in the words array
words(0) = "test"
words(1) = ""The quick brown fox"
words(2) = "ran through a log""
words(3) = "Another sentence"
how can I get the array to display as
words(0) = "test"
words(1) = ""The quick brown fox, ran through a log""
words(2) = "Another sentence"
I then convert the words array back to a comma delimited string after I made my string changes
newWords = String.Join(",", words.ToArray())