REPLACE (string)
Function REPLACE is also found in the following categories: Array functions.
Syntax
REPLACE( string, substring, replace_with )
Description
Searches for the substring substring in the string string and replaces it with the string replace_with.
If the substring is not found, the string is not changed.
Argument types:
string—Stringsubstring—Stringreplace_with—String
Return type: String
Data source support
ClickHouse 19.13, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3.
Previous
Next