Skip to main content

text

Function text 

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

The text with every character a terminal could interpret or that disguises text removed: C0 and C1 controls, DEL, bidi marks, overrides and isolates, the zero-width space, the word joiner and the invisible format characters around it, the byte order mark and tag characters. A tab becomes spaces, the line and paragraph separators a space.