Available on all platforms
Replaces the first occurrence of a pattern by its substitution.
REPLACE consumes 3 parameters from the stack:
- the replacement value
- the pattern to search, could be a regular expression
- the input value
All parameters are converted into strings via the toString() method before the replacement is done.