Solved

Is there a C# equivalent to the Java Apache Poi Parser

Posted on 2012-04-11
1
928 Views
Last Modified: 2012-05-07
Hello all,

I'm a newbie to C# and need to parse a text file.

In the past I have used the Java Apache POI library and have found it really useful.  

Is there a C# equivalent you'd recommend apart from using StreamReader and Regex.Split?

Thanks
0
Comment
Question by:AndyC1000
1 Comment
 
LVL 25

Accepted Solution

by:
Sinisa Vuk earned 275 total points
ID: 37836240
At higher level you can avoid reader and spliting (using third class lib)

http://www.codeproject.com/Articles/16108/Text-Parser-for-C

... but if you need something special... split is good choice

http://stackoverflow.com/questions/858756/how-to-parse-a-text-file-with-c-sharp

http://msdn.microsoft.com/en-us/library/ms228388%28v=vs.80%29.aspx
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now