use itertools::Itertools;
pub fn upper_camel_case(s: &str) -> String {
s.chars().filter(|c| c.is_alphanumeric() || c.is_whitespace())
.collect::<String>()
.split_whitespace().map(capitalize).join("")
}
pub fn capitalize(s: &str) -> String {
let mut result = String::new();
if s.is_empty() {
return result;
}
result.push_str(s.chars().next().unwrap().to_uppercase().to_string().as_str());
result.push_str(s.chars().skip(1).collect::<String>().to_lowercase().as_str());
result
}