Looking for a good text parsing library for C# [closed]
-
04-10-2019 - |
Question
Has anyone run across a quality library that will parse, line by line, CSV, tab-delimited, and Excel files?
I've started to do it manually but have noticed some of the intricacies in parsing a comma-delimited file. Such as situations where a cell has a comma in it as part of the data (blah,\"LastName, Jr.\",blah,blah).
Solution
OTHER TIPS
Take a look at the FileHelpers Library. It's free and has a number of examples on their page.
You may take a look at FileHelpers.
Try http://filehelpers.sourceforge.net/
It will allow you to parse any type of file. All you have to do is create a mapping describing the file. Plus its free!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow