Designing and Implementing Business Process Models 10.4 | Designing and Implementing Business Process Models | Business Rules Reference | Functions | Summary of String Functions | replaceFirst(String regex, String replacement): String
 
replaceFirst(String regex, String replacement): String
Returns a string where the first substring of this string that matches the given regular expression is replaced with the specified replacement value. If no match is found, then the original string is returned.
Input Parameters
regex
String The regular expression to which this string is to be matched.
replacement
String The string to be substituted for each match.
Return Value
String The resulting string.

Copyright © 2019 | 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.
Innovation Release