Building and Using Dashboards > Dashboard Function Reference > Scalar Functions > Replace All
Replace All
Replaces all occurrences of a given string which matches the pattern of the regular expression with another string. This function is just a wrapper of the java.lang.String.replaceAll() function. For detailed syntax, refer to the standard java.lang.String documentation.
If the Substitution argument is used, the replaced string is assigned to the substitution before it is returned.
Arguments
*String: String to be replaced.
*Regular Expression: Regular expression which defines the pattern of the string to be replaced.
*Replacement: String to be used as the replacement for the found pattern.
*Substitution: Optional. Name of the substitution (for example, $symbol) which is used for the assignment of the replaced string.
This function returns a string.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.