Hi,
I've some textfiles (Text.cfg) with a lot of sections (sectionA.1,
sectionA.2, sectionA.3, sectionB1 and so on). Im only interested in the
sectionA! Euch section have a headline like this: [sectionA.x]
What I want to do:
1. Find out how many sections A are present in the Text.cfg. (Can vary
between 1 and 20)
2. Copy the last section A to the end of the Text.cfg file
3. Rename the headline of the copied section to a new number (for example:
If the Text.cfg has five sections A so I need the headline [sectionA.6]
Thank you for your help
Detlef
Germany