I'm trying to create a different way to pull data from a ini file. Rather than only pulling the values, i wish to pull everything under the [name] until it reaches another [name].

Example:

[namehere]
1=a
2=b
3=c
etc...
[name2here]

i wish to pull the following:
1=a
2=b
3=c
etc..

can it be done? i hate working with txt files