Skip to main content

strtoupper

Function strtoupper 

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

PHP strtoupper: ASCII a-z to A-Z; every other byte unchanged. Borrows when nothing changes. Valid UTF-8 stays valid UTF-8.