Designing and Implementing Business Process Models 10.4 | Designing and Implementing Business Process Models | Business Rules Reference | Functions | Summary of String Functions
 
Summary of String Functions
 
concat(String str): String
contains(String str): boolean
endsWith(String suffix): boolean
equals(String anotherString): boolean
equalsIgnoreCase(String anotherString): boolean
matches(String regex): boolean
regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len): boolean
replaceAll(String regex, String replacement): String
replaceFirst(String regex, String replacement): String
startsWith(String prefix): boolean
substring(int beginIndex): String
substring(int beginIndex, int endIndex): String
toLowerCase(): String
toUpperCase(): String
trim(): String
webMethods Rules Development provides predefined string functions as listed in the following table:
Function
Returns
Description
String
Appends the specified string to the end of this string.
Boolean
Indicates whether or not the specified string is contained within this string.
Boolean
Indicates whether or not this string ends with the specified suffix.
Boolean
Indicates whether or not this string is equal to the specified string.
Boolean
Indicates whether or not this string is equal to the specified string, ignoring case considerations.
Boolean
Indicates whether or not this string matches the given regular expression.
Boolean
Indicates whether or not two string regions (substrings within the specified strings) are equal.
String
Returns a string where each substring of this string that matches the given regular expression is replaced with the specified replacement value.
String
Returns a string where the first substring of this string that matches the given regular expression is replaced with the specified replacement value.
Boolean
Indicates whether or not this string starts with the specified prefix.
String
Returns a string that resides within this string.
String
Returns a string that resides within this string.
String
Returns a string with all of the characters of this string converted to lower case.
String
Returns a string with all of the characters of this string converted to upper case.
String
Returns a copy of this string with leading and trailing empty characters removed.

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