in reply to Re: Replace placeholders in text in an elegant manner
in thread Replace placeholders in text in an elegant manner

needles is a synonim for placeholders.

Each placeholder has a unique replacement.
The text can be like the following

This is text with %%placeholder1%%.
It can be with %%placeholder2%% too. %%placeholder1%% can appear more than one time in the text.
My intention is to replace them with my replacements at one line and not to loop on the placeholders and replace them one by one.

  • Comment on Re^2: Replace placeholders in text in an elegant manner