Skip to main content

replace_command

Function replace_command 

Source
pub fn replace_command(
    script: &str,
    range: Range<usize>,
    command: &str,
) -> String
Expand description

The script with the command at range replaced by command.