Function overlay

Source
pub fn overlay(
    s: &str,
    new_sub_str: &str,
    start: i32,
    writer: &mut impl Write,
) -> Result<()>
Expand description

Replaces a substring of the given string with a new substring.

query T
select overlay('αβγδεζ' placing '💯' from 3);
----
αβ💯δεζ