Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2012-04-11
1
Medium Priority
?
1,116 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 28

Accepted Solution

by:
Sinisa Vuk earned 825 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

916 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