fn insert_string(
original: &str,
pos: i64,
replace_len: i64,
new_str: &str,
) -> StringExpand description
Perform the INSERT string operation. pos is 1-based. If pos < 1 or pos > len(str) + 1, returns original string. if replace_len is negative or past the end of the string, replace to the end.