pub fn split_into_parts_counted(
text: &str,
max_chars: usize,
max_parts: usize,
) -> (Vec<String>, usize)Expand description
[split_into_parts], plus how many of text’s characters the parts carry:
all of them unless the text was cut.