Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How best to parse tex tfile?
Message
 
 
To
28/04/2005 07:06:58
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01009146
Message ID:
01009192
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>
>What's the best way to do the parsing? In VFP it's a cinch. In .Net I don't know enough about classs structure to pick a best method. I'd rather get a pointer or two here and start running rather han crawling and letting the customer wait extra longer for my studies. <g>
>

I don't know if the following will be helpful but just in case:

This is how I read a text file into a string:
// Read the template file using StreamReader object.
FileInfo oFileInfo = new FileInfo(path);
StreamReader oReader = oFileInfo.OpenText();
string stringInTemplate = oReader.ReadToEnd();
// It is important to close the StreamReader object.
oReader.Close();
Once it is a string there are many ways to manipulate it in C#.NET.

HTH.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform