Function remove_whitespace

Source
pub fn remove_whitespace(input: &str) -> String
Expand description

Returns a new String where all whitespace characters are removed

Uses char::is_whitespace to determine whitespace characters

ยงArguments

  • input - Input String to remove whitespace chars from