Skip to main content

shared_string_replace_all

Function shared_string_replace_all 

Source
pub fn shared_string_replace_all(
    s: &SharedString,
    from: &str,
    to: &str,
) -> SharedString
Expand description

Replaces all matches of from with to in s and returns the result as a new SharedString.