pub fn ucwords<'a>(s: &'a [u8], separators: &[u8]) -> Cow<'a, [u8]>Expand description
PHP ucwords($string, $separators): uppercases (ASCII) the first byte
and every byte that follows one of separators. separators accepts
a..z ranges like trim. Pass UCWORDS_SEPARATORS for PHP’s default.
As in PHP, the separator test looks at the previous byte after it was
uppercased, so ucwords("aab", "A") is "AAB".