pub fn trim_and_collapse_whitespace(input_str: &str) -> String
Trims whitespace from the head and tail and collapses all other whitespace to just a single space
input_str
A new string without any Unicode whitespace characters.