parse


Description:

public static ArrayList<ArrayList<string>> parse (string csv)

Parses CSV text into a list of rows.

Supported features: - comma delimiter - quoted fields with escaped quotes ("") - line breaks inside quoted fields

Returns an empty list when the input is malformed (for example, unclosed quotes).

Parameters:

csv

CSV text.

Returns:

parsed rows and columns.