|
|
#1 |
|
Junior Member
Join Date: May 2010
Posts: 1
|
Hello
I found this ingenious function for the NSIS Installer. ReplaceBetween For my purposes the function would have to be adapted however some more: Momentarily the function searches downward from top to the bottom of the file, it means occur the markers several times, then also the text between them several times replaced. The code would have to be changed in such a way, everything between the first occurrence of the marker1 and the last occurrence of the marker2 is replaced. What has to be adapted in the program code? Thank you MilhouseNo1 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
This is quite difficult as you usually do not read lines backwards. However this may be doable using the functions provided in the user manual.
Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|