So you just want to replace raute in the string with a # ?
You could do it with a dynamic variable in the agent script, or what is probably easier is doing it in the Flow when you pass that value as an input use
Replace(StringToReplace,ValueToReplace,NewValue)
Eg Replace(Flow.ContractRaute,"raute","#")

------------------------------
Anton Vroon
------------------------------