Replacing strings
Thereplace()
function allows values within a text string in a property to be replaced with another value
This works in the same way as Find & Replace in most office programs
In this example all instances of the value "HR" in the "Position Title" property needs to be changed to "Human Resources"
To see the effect for multiple nodes the expression has been saved as a Pack Property called "New Position Title"
String(node.PositionTitle).replace("HR", "Human Resources")