insert_string

Function insert_string 

Source
fn insert_string(
    original: &str,
    pos: i64,
    replace_len: i64,
    new_str: &str,
) -> String
Expand description

Perform the INSERT string operation. pos is 1-based. If pos < 1 or pos > len(str) + 1, returns original string.