I am struggling to replace multiple strings with variables in text
Iv attached the necessary files for analysis.
please see the image in the zip file provided for clarity.
Thank you for your help.
Is it possible to do it only as an expression ?
{IIF(HTML.HTML_Message.Contains("{Friends.FullName}"),HTML.HTML_Message.Replace("{Friends.FullName}",Friends.FullName),"")}
Replace multiple strings with variables in text ,Conditions Not working as expected
Replace multiple strings with variables in text ,Conditions Not working as expected
- Attachments
-
- StimProb.zip
- (37.41 KiB) Downloaded 155 times
-
- Posts: 6364
- Joined: Tue Mar 20, 2018 5:34 am
Re: Replace multiple strings with variables in text ,Conditions Not working as expected
Hello,
You can use the following epression:
{Replace(Replace(HTML.HTML_Message,"{People.FullName}",People.FullName), "{Friends.FullName}", Friends.FullName)}
Thank you.
You can use the following epression:
{Replace(Replace(HTML.HTML_Message,"{People.FullName}",People.FullName), "{Friends.FullName}", Friends.FullName)}
Thank you.
- Attachments
-
- Screenshot 2022-06-15 002123.png (108.83 KiB) Viewed 1648 times
Re: Replace multiple strings with variables in text ,Conditions Not working as expected
Thank you for taking time to help me.
-
- Posts: 818
- Joined: Tue Sep 07, 2021 10:11 am
Re: Replace multiple strings with variables in text ,Conditions Not working as expected
Hello,
You are welcome!
You are welcome!