Solved

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

Posted on 2012-04-11
1
983 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 27

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.NET 2008 VB and C# 6 47
Problem with SelectList in .NET MVC application 1 34
Where is this file? 3 32
Visual Studio 2015 auto inserted code 12 66
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 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