pub fn replace_at(
content: &str,
range: Range<usize>,
replacement: &str,
) -> StringExpand description
Replace the character range range of content with replacement.
Char-indexed, so multi-byte text and emoji never split a codepoint. A range past the end clamps to the length.