Function to_title
Source pub fn to_title(string: &str) -> String
Expand description
Return a version of the string in Title Case format.
§Arguments
string - The string to get a Title Case version of.
§Examples
let result = case_switcher::to_title("sample_string");
assert_eq!(result, "Sample String");