Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0007-physical FR-015
CSV text (commons data 0007-physical FR-015): parsed as RFC 4180 does, a quoted field holding the delimiter, a newline or a doubled quote.
Source: commons/data/sql/physical/csv.ts
1 of 1 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.
function parseCsv(text: string, delimiter?: string): readonly (readonly string[])[]
The records of CSV text, the first of which is the header.
| Parameter | What it is |
|---|
text | the text |
delimiter | the delimiter, a comma where it is not said |
Returns: the records, each a list of fields
Imported by 9 tests of the run (9 passed, 0 failed): the library's results