...
replaceAll(listToCheck, findPattern, replacementString)
Argument | Type | Description |
---|---|---|
listToCheck | String or Array | A string (or list of strings) to evaluate. |
findPattern | Regular Expressions | Pattern to be matched in listToCheck |
replacementString | String | String to replace matching pattern in list |
replaceAll applied to:
- a multielement array returns a multielement array
- a single element array returns a string.
...
This expression removes any backslashes ("\") in the string "in.BudgetCode" e.g. if in.BudgetCode is "323\-ABC", the value returned is "323-ABC". The reason that multiple backslashes are used is because "\" is an "escape" character in a Regular ExpressionExpressions. This allows special control charaters to be treated as regular characters. See Regular ExpressionExpressions for more details.
See Also
...