Answer the question
In order to leave comments, you need to log in
What are some good ways to parse a file?
Greetings!
There are text files with the same line structure:
header
id:key:value
id:key:value
.....
content
footer:key:value
Answer the question
In order to leave comments, you need to log in
If id, key, and value do not contain colons, all this is steamed by a banal split on this character.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question