Skip to content

Conversation

@e-mhui
Copy link

@e-mhui e-mhui commented Jan 17, 2025

New abilities

  1. Supports strings as record and column delimiter.
  2. Multiple row and column delimiters can be set, and the logic between multiple delimiters is or.

useage:

CsvReader reader = CsvReader.parse("1,|'\r\n,|a'\r\n2,|b\r,\n3,ac");
reader.setDelimiters(Arrays.asList(",|" ));
reader.setTextQualifier('\'');
reader.setRecordDelimiters(Arrays.asList("\r\n", "\r,\n"));

more test see AllTests.test179().

@e-mhui e-mhui force-pushed the feature-3.0 branch 2 times, most recently from 3955709 to 0324ff2 Compare January 17, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant