Comments (3)
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.
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.
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)
- add some constructor parameters HOT 3
- Assembly signing HOT 2
- Thanks! HOT 2
- Item order in subsequent iterations? HOT 2
- This parser doesn't support multiple delimiters HOT 1
- Suggestion: Include a CsvTextFileFormatter as well? HOT 1
- Can you please add ReadLine() method? HOT 3
- No errorLine is shown when thrown MalformedException HOT 3
- Cannot parse some csv file HOT 3
- Parsing difference between VB parser and this parser HOT 1
- Feature Request: LineNumber property HOT 1
- Issue with line parsing HOT 1
- Error: is too long, or a component of the specified path is too long. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csvtextfieldparser.