...
Document1$ = REPLINS$(Document$, "lost", "loosed", 0)
returns:
"Things fall apart; the centre cannot hold;
The blood tide is loosed everywhere"
Add , and immediately behind loosed:
...
Document2$ = REPLINS$(Document1$, "loosed", ", and", 1)
returns:
...
...
Add -dimmed immediately before tide, including the space, so make sure to define " tide":
...
Document3$ = REPLINS$(Document2$, " tide", "-dimmed", -1)
returns:
...
...
Add Mere anarchy is loosed upon the world after the first sentence:
...
Document4$ = REPLINS$(Document3$, "NullString", "Mere anarchy is loosed upon the world", 1)
returns:
...
Add Turning and turning in the widening gyre two lines before the first sentence:
...
Document5$ = REPLINS$(Document4$, "NullString", "Turning and turning in the widening gyre", -2)
returns:
...
Add The falcon cannot hear the falconer; one line after the word widening:
...
Document6$ = REPLINS$(Document5$, "widening", "The falcon cannot hear the falconer;", 2)
returns:
...
Add The Second Coming two lines before the word widening:
...
Document7$ = REPLINS$(Document6$, "widening", "The Second Coming", -2)
returns:
...
...
Quick links: Function overview | Attribute overview | Constants overview | Dimensions overview