Capitalize
First letter to uppercase, the rest to lowercase. And other common alternatives.
Examples
use Capitalize;
assert_eq!;
Behavior is like Python's str.capitalize, read capitalize reference for details.
First letter to uppercase, the rest to lowercase. And other common alternatives.
use Capitalize;
assert_eq!;
Behavior is like Python's str.capitalize, read capitalize reference for details.