Replaces all occurrences of the first text with the second text, within the third text
If the first text is empty, no replacement is performed. If any occurrences overlap, the earlier part is replaced first.