Skip to contents

Replaces any occurrences of the source with target in string.

Arguments

string

VARCHAR

source

VARCHAR

target

VARCHAR

Examples

if (FALSE) { # \dontrun{
replace('hello', 'l', '-')
} # }