Function jay_lib::fns::fn_str::capitalize
source · pub fn capitalize(name: &str) -> Cow<'_, str>
Expand description
First char of first word to Capitalize /
But return is Cow<str>
A mnemonic node
Example:
use jay_lib::fns::fn_str::capitalize;
let s="hello word";
assert_eq!("Hello word",capitalize(s));