Skip to main content

clean_text

Function clean_text 

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

Cleans text by removing extra whitespace, special characters, etc.

§Arguments

  • text - A string slice to clean.

§Returns

  • A String containing the cleaned text.