Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_ReplaceStringInFile and multiline string

$
0
0

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.

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>