Skip to main content
Scalar function
Returns NULL for a NULL provided argument.

Syntax

Scalar

Arguments

Returns

  • Type: STRING
  • Possible values: The replaced string.
  • NULL behavior: Returns NULL for a NULL provided argument.

Properties

Usage notes

  • An empty search string inserts the replacement before every Unicode character and at both ends. Omitting replacement is equivalent to an empty string.

Examples

Typical behavior

Omit the replacement to remove matches

Last modified on October 15, 2026