String
This function helps you modify strings.
String stringReplace(String input, String regularExpression, String replacement)
Replaces by another value all occurrences of a given pattern found in a string.
Parameters :
input
: The primary stringregularExpression
: The regular expression to match toreplacement
: The replacement string
Returns : The derived string
Examples :
SpEL with : ${#stringReplace("Hello", "l+", "r")}