pub fn capitalize(s: &str) -> StringExpand description
Returns a capitalized version of the string.
More specifically, it makes the first character upper case and the rest lower case.
It’s like Python’s str.capitalize().
§Examples
let name = "kAtE";
let result = jabba_lib::jstring::capitalize(name);
assert_eq!(result, "Kate");