pub fn train_case(s: &str, normalize: bool) -> String
Converts a string to Train-Case (each word capitalized, joined by -).
-
With normalize == true, lowercases each part before capitalizing.
normalize == true