replace

replace(old_text, new_text)

Replacing sub-text

Parameters
Result

XText : a new XText instance replacing old_text to new_text