Function capitalize_string

Source
pub(crate) fn capitalize_string(
    string: &str,
    allow_word_at_start: bool,
) -> String
Expand description

Given a string and whether the start of the string represents a word boundary, create a copy of the string with letters after word boundaries capitalized.