Parsing CSV data when a field has commas
Problem I am parsing CSV data and a string field contains commas. For example: The split string for the 3rd line will produce the array: The solution is to merge the slots that belong to the string field. In the example above, you would merge indexes 0 and 1. Code Tests