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.

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"