String Function, replaceAll() with variables throws error

Hi, I am trying to change a variable Var1 in a microflow using the replaceAll() function with variables varA, varB and varC as parameters. i.e. varA = Hi there {Name}, how are you? varB = {Name} varC = Kobus Activity = Change Variable Input = Var1 Action = replaceAll($varA, $varB, $varC) When I run this, I get the following error : com.Mendix.core.CoreException: com.mendix.CoreException: gy : Failed to Evaluate expression, error occurred on line 1, character 1 replaceAll($varA, $varB, $varC)^ Please help.
2 answers

But if you run the following:

replaceAll('MENDIX', 'DIX', '')

You get 'MEN' as a result why would the above mentioned not work?


The second parameter of replaceAll should be a regular expression according to the documentation