Explorer

core.string-replace

description
Replace every from in the text with to. core.eval-value runs it compiled
type
Fn(text: String, from: String, to: String) -> String
expression
fn(text$0, from$1, to$2) =>
  @core.string-join(items: @core.string-split(text: $0, separator: $1), separator: $2)
visibility
public
core.string-replace (project definy, branch localized-descriptions, snapshot 4UAxOcclWZD2NPiuAIppcpCjShSw41vxBIT6qrjlNLc)
id: tE04KgPlnx7ofjrpHtwfQRXHQN3HkveBAxIsXqddGJU
content hash: NyPhv4UXA_aH9ZoBhEcDe9hzyo2TSGSwzCvS0Q7KCLw