if i have a list kinda like this
"name"
bobby
"endname"
"age"
34
"endage"
"name"
susie
"endname"
"age"
53
"endage"
how would i sort through it ignoring the stuff in "" and copying just the names and ages into arrays. ive been using strtok and if statements but that doesnt seem very efficient.
is there a simple way to do this?