Integration Server 10.7 | Built-In Services Reference Guide | String Folder | Summary of Elements in this Folder | pub.string:replace
 
pub.string:replace
WmPublic. Replaces all occurrences of a specified substring with a substitute string.
Input Parameters
inString
String String containing the substring to replace.
searchString
String Substring to replace within inString.
replaceString
String Character sequence that will replace searchString. If this parameter is null or empty, the service removes all occurrences of searchString from inString.
useRegex
String Optional. Flag indicating whether searchString is a regular expression. When regular expressions are used to specify a search string, replaceString may also contain interpolation variables (for example, "$1") that match parenthetical subexpressions in searchString.
Set to:
*true to indicate that searchString is a regular expression.
*false to indicate that searchString is not a regular expression. This is the default.
Output Parameters
value
String Contents of inString with replacements made.