Skip to main content

strtolower

Function strtolower 

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

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