Takes one existing Source value, and two parameters, Search, NewVal
This command as well as the
ReplaceAny$ command require a source value to the left of this calculation. For this reason, these commands can not be nested inside
This command uses the left Source value, searches it for the SearchVal, and replaces any found occurrences with the NewVal parameter.
[New] searchVal = "ab"
[New] newVal = "y"
[New] source = "abc"
source = Replace$ searchVal, newVal
Html source 'Result is equal to "yc"