Skip to main content

insert_char

Function insert_char 

Source
pub fn insert_char(str: &mut String, index: usize, c: char)
Expand description

Insert a character by given character index (instead of byte position).