Skip to main content

replace_range

Function replace_range 

Source
pub fn replace_range(
    text: &str,
    start: usize,
    length: usize,
    replacement: &str,
) -> String
Expand description

Replaces the length characters starting at start with replacement.