Skip to main content

capitalise

Function capitalise 

Source
pub fn capitalise(s: &str) -> String
Expand description

Capitalise the first letter and lowercase the rest. Used by CP01 and CP03 for the Capitalise policy.