Code Monkey home page Code Monkey logo

Comments (3)

22222 avatar 22222 commented on July 28, 2024

This library doesn't try to exactly match the defaults of the VB parser. But that is probably something that should be better documented.

The VB parser works with any kind of file format, while this library is only focused on parsing CSV files. So I tried to select defaults that are compatible the CSV RFC 4180 standard, which says this:

Spaces are considered part of a field and should not be ignored.

But I will plan on updating the readme to point out and justify when the defaults are different than the VB parser.

from csvtextfieldparser.

drvic10k avatar drvic10k commented on July 28, 2024

sorry, I found it advertised as an 1:1 replacement for VB parser, also many issues here were comparing this to VB parser, so I thought that was the idea

from csvtextfieldparser.

22222 avatar 22222 commented on July 28, 2024

No, you're right, this library is mostly designed to be compatible with the VB parser and the documentation didn't have any information about any differences being intentional.

I updated the compatibility section of the readme to include that information, including a line about the TrimWhitespace default value being different. Let me know if that seems sufficient or if you think more information would be useful.

And at least for now, I'll plan on keeping the TrimWhitespace default value differences. But if it causes a lot of problems for people, I'd maybe be open to reconsidering that decision.

from csvtextfieldparser.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.