Function wagon_utils::remove_whitespace
source · pub fn remove_whitespace(s: String) -> String
Expand description
Removes all whitespace from a string.
§Example
use wagon_utils::remove_whitespace;
let s = " 1 2 3 ".to_string();
assert_eq!("123", remove_whitespace(s));