replace
replace(value: string, substring: string, replacement: string) -> string
Replaces all instances of the substring in the input string with a provided value.
Domain
This is a scalar function (calculates a single output value for a single input row).
Categories
Examples
make_col log:replace(log,"127.0.0.1","localhost")
This replaces the string "127.0.0.1" with the string "localhost" in a column named "log".
Updated 8 days ago