There is a property which could have different string values. So I want to check this property if it contains the string value "prof" or "des"! If this is the case the property should be rewritten with "prof" or "des".
Property Value origin :"Major Srgt PD Professor med"
Property new Value: "Prof."
I checked the Expression builder and the String(Pega-Rules) library. I found a function called "contains" which returns only true and false. Is there a possibility to check the string and change the value within one function?