Cloud Application Integration (On-Premises) : Integration Server Built-In Services : String 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.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback