Delimiter with tab erroring out
We require tab delimiting as an option for our CSVs for users. Certain programs use tabs. However, using tabs results in an error like this:
$.csv.toArray('"Foo" "Bar"', {separator: '\t'})
Uncaught Error: CSVDataError: Illegal State [Row:1][Col:1]
Environment
- Platform: Browser
- Version: Edge 86.0.622.38
- Usage: I'm typing it like above
Steps to reproduce
- Run
$.csv.toArray('"Foo" "Bar"', {separator: '\t'})
Expected behaviour
It should produce ['Foo', 'Bar']
Actual behaviour
Uncaught Error: CSVDataError: Illegal State [Row:1][Col:1]
Delimiter with tab erroring out
We require tab delimiting as an option for our CSVs for users. Certain programs use tabs. However, using tabs results in an error like this:
Uncaught Error: CSVDataError: Illegal State [Row:1][Col:1]Environment
Steps to reproduce
$.csv.toArray('"Foo" "Bar"', {separator: '\t'})Expected behaviour
It should produce
['Foo', 'Bar']Actual behaviour
Uncaught Error: CSVDataError: Illegal State [Row:1][Col:1]