pub fn mask_bounded(text: &str, max_chars: usize) -> StringExpand description
The first max_chars characters of text with everything above hidden, for a caller that shows
only the start of a long string. The whole text is masked first and cut after, so no number or
token that straddles the cut can show its first characters.