voca_rs::case
pub fn title_case(subject: &str) -> String
Converts the subject to title case.
subject
subject: &str
use voca_rs::*; case::title_case("bird flight"); // => "Bird Flight" case::title_case("BirdFlight"); // => "Bird Flight" case::title_case("-BIRD-FLIGHT-"); // => "Bird Flight"