Today I tried to use the replace function. I had 3 variables and I tried to replace one text with another.
first I had a variable longstory ( with a value long story)
then I had a variable long and a variable short.
And now to make a long story short all I had to do is use the following expression:
replace(variables(‘longstory’),variables(‘Long’),variables(‘Short’))
I’m not sure why but when you select a variable in the dynamic contents values(”variable name”) is added. to get the actual variable value you need to use variables instead.