Doers anybody know of a way to extract just the section headers from a .ini file which is in the format:

[section header 1]
data=0
data=9

[section header 2]
data=8
data=5

thank You