REPLACE¶
REPLACE returns a string with all occurrences of one substring replaced by another substring.
Syntax¶
Parameters¶
text- The input string.old- The substring to replace.new- The replacement substring.
Examples¶
This returns Sticky GlueSQL.
Notes¶
REPLACE requires exactly three arguments. If any argument is NULL, the result is NULL.