Function to_title_case

Source
pub fn to_title_case(content: &str) -> String
Expand description

Converts a string to title case (first letter capitalized and all the rest lower-case).