Hi i have the following data file:

------------ Data File Created By ActiGraph GT1M -----------

Serial Number: LYN2B35063338

Start Time 05:00:00

Start Date 02/27/2007

Epoch Period (hh:mm:ss) 00:00:02

Download Time 15:22:34

Download Date 03/05/2007

Current Memory Address: 512000

Current Battery Voltage: 3.90 Mode = 3

5 0 0 10 45 21 0 0 0 0 0 0 0 0 0

70 0 0 0 0 0 0 0 0 0 0 0 0 0 0

I can read the file into my program using IO streamreader. What i want to do now is to split the first 9 lines (the header) from the rest of the data file, then display the two different groups on the console screen. Can someone help me pls. thanx in advance for ur help

I have had a look at the example but im not sure if i understand it im getting a little confused with the directories in the example Please can u give me some explanation. What im trying to do is read the text file and separate the header - 9 lines from the rest. Any help would be grateful. thanx

Well. What have you tried, and in what way didnt it work (please show code in code tags)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.