in reply to Re: Replace placeholders in text in an elegant manner
in thread Replace placeholders in text in an elegant manner
Each placeholder has a unique replacement.
The text can be like the following
This is text with %%placeholder1%%.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.
It can be with %%placeholder2%% too. %%placeholder1%% can appear more than one time in the text.
|
|---|