We can replace one element with another in a string by using Change routine along with tJava components.