How can I truncate the length of a column using CSVKit?
The definition looks like this:
* Column 1: no length restriction
* Column 2:
This should properly handle escaped (quoted) columns and new lines.
For example:
First Header,Second Header
foo,
foo,b
foo,bar
foo,"bar"
foo,"""bar"
foo,"
bar"
should become
First Header,Second Header
foo,
foo,b
foo,ba
foo,ba
foo,"""b"
foo,"
b"
Asked by patstuart
(163 rep)
Jul 14, 2022, 06:10 PM
Last activity: Jul 15, 2022, 07:44 AM
Last activity: Jul 15, 2022, 07:44 AM