By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,511 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

Line Feed

P: n/a
LIN
I am trying to parse a log file which is created by an Apache Web Server - I
am not sure what do you use to read the Line Feed - example for most of the
other files i use "\n" but i am not sure what represents a Line Feed.

Ideas Please.

Thank you,

LIN
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
check out the class System.IO.StreamReader
it has a ReadLine() method...

dominique
"LIN" <ju******************@football.com> wrote in message
news:eF****************@TK2MSFTNGP10.phx.gbl...
I am trying to parse a log file which is created by an Apache Web Server - I am not sure what do you use to read the Line Feed - example for most of the other files i use "\n" but i am not sure what represents a Line Feed.

Ideas Please.

Thank you,

LIN

Nov 20 '05 #2

P: n/a
* "LIN" <ju******************@football.com> scripsit:
I am trying to parse a log file which is created by an Apache Web Server - I
am not sure what do you use to read the Line Feed - example for most of the
other files i use "\n" but i am not sure what represents a Line Feed.


Have a look at the constants in 'ControlChars'.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.