Parsing CSV resources
The following examples demonstrate how to parse
comma-separated values (CSV data) using
kontrast.parseCSV(). Please refer to the documentation on
CSV resource parsing for details on
all individual input and output properties.
The interactive examples below will access the CSV data as a string from the following editable text:
In many cases, CSV files contain weird and non-standardized
formatting, particularly for dates and time stamps. The function
kontrast.parseCSV provides a simple interface to use your
own custom code for such formatting.