Skip to content

replace_all

In std/string.

fn replace_all(self, from: String, to: String) : String

self with every occurrence of from replaced by to: "aaa" | replace_all("a", "b") is "bbb".