return string with all occurrences of old replaced with new
To remove all occurrences of a substring, use a null string "" as the new value:
or, just leave out the third argument: %replace(abcdabcd,bc)
displays: 9764
Add comment