I'm a C novice, require help on parsing text files and storing in an array or another text file:
Below is the data which are partly pipe delimited values and part of it are name-value pairs,
for instance the "cma{PL}Ind{1}man{6}gal{0}cif{}" mentioned below
cma is the field name and PL is its value, i need to extract only the values within the braces along with other pipe delimited values. Please suggest.
The data looks like this:
1|2|3|?|feg|jfh||||"cma{PL}Ind{1}man{6}gal{0}cif{}"|
111|233|333|?|media|jack|||||"cma{PPS}Ind{1}man{3}gal{0}cif{234}ink{0}"|
Need to store the values in a array.
Please help!!