replace ( string text, from text, to text ) → textReplaces all occurrences in
string of substring from with substring to.replace('abcdefabcdef', 'cd', 'XX') → abXXefabXXefFunctions / String Functions And Operators
Replaces all occurrences in string of substring from with substring to.
Reading PG 18current·documented in 25 of 27 versions, 7.3 to 20
replace ( string text, from text, to text ) → textReplaces all occurrences in
string of substring from with substring to.replace('abcdefabcdef', 'cd', 'XX') → abXXefabXXefDefinition snapshot: b7bd9cda · English manual source