Skip to main content

strip_controls

Function strip_controls 

Source
pub fn strip_controls(text: &str) -> (String, usize)
Expand description

Text without control characters: escape sequences (ESC [ … final, ESC ] … BEL) and every C0 and C1 control but tab, line feed and carriage return. The text and how many characters went.