Skip to main content

substitute_for_display

Function substitute_for_display 

pub fn substitute_for_display(text: &str) -> String
Expand description

text with every invisible character that is not whitespace replaced by one visible character, so it keeps its length in characters (module doc).