Skip to main content

ucfirst

Function ucfirst 

Source
pub fn ucfirst(s: &[u8]) -> Cow<'_, [u8]>
Expand description

PHP ucfirst: uppercases the first byte if it is an ASCII letter.