Not processing certain lines when Reading Text file

Shaitan00

Well-known member
Joined
Aug 11, 2003
Messages
343
Location
Hell
I am reading from a text file but there are lines I do not want processed.

Example of Text File:
// Comment 1
// Comment 2
XX : Value 1
XY : Value 2

So currently my code reads each line [while ((line = sr.ReadLine()) != null)]. But I want it so skip the lines that start with
 
Back
Top