Hi folks

Im writing a small database program, mainle for the practice, and ive run into a problem, that i cant really solve.

The situation is that i want to start from line 1 of my database (a .txt database), then skip all line until i reach a semicolon ( ; ), then read the line below that semicolon, then skip until the next semicolon, and read the line below that one. I believe you get the picture.

Ive tried to create another, small database, containing information about where all semicolons were, but this seemed clumsy, and like a very bad way of doing it.

All help is greatly appeciated