Jump to content

Recommended Posts

Posted

Hy, I have a small question about reading a txt-file.

example txt-file

group 1

--------

type = "value"

type = "value"

type = "value"

etc...

group 2

--------

type = "value"

type = "value" <-

type = "value"

etc...

group 3

--------

type = "value"

type = "value"

type = "value"

etc...

(the amount of "types" in each group is different each time and the values off course too)

Now I need a way to read the value of the 2nd type in group 2.

If there were only 1 type-value in the entire txt-file or a constant number of type-values, I'd know what to do, but now I'm a bit lost... :)

Does anyone have a suggestion on how to achieve this?

Thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...