Skip to main content

strings_replace

Function strings_replace 

Source
pub fn strings_replace(s: &Value, from: &Value, to: &Value) -> DogeResult
Expand description

strings.replace(s, from, to) — every occurrence of from in s swapped for to. Replacing an empty from is a catchable ValueError.