Hello,
I'm working on a personal filetype parser.
I'm using .poem files extension with a HTML-like syntax.
An exemple file looks like this:
<poem> <name>poem1 name</name> <author>author1 name</author> <lyrics> line line line </lyrics> </poem> <poem> <name>poem2 name</name> <author>author2 name</author> <lyrics> line line line </lyrics> </poem> <poem> <name>poem3 name</name> <author>author3 name</author> <lyrics> line line line </lyrics> </poem>
I'm using this parser for a lyrics archive program.
If the user want to delete a poem, I will use the _ReplaceStringInFile to delete the poem from the .poem file.