How to replace the character ( with replaceFirst or replaceAll

0
replaceAll($BeheerType, '(','') gives error: com.mendix.modules.microflowengine.MicroflowException: Failed to evaluate expression, error occurred on line 1, character 1 replaceAll($BeheerType, '\(','') with a ^ under de r of replaceAll I've allready tried replaceAll($BeheerType, '\(','') but without any result
asked
2 answers
0

Try replaceAll($BeheerType, '[(]', '')

answered
0

Your 2nd parameter should contain a regular expression.

replaceAll Replaces all occurrences of a regular expression with another string.

answered