nyx_space::utilsFunction capitalize
source pub fn capitalize(s: &str) -> String
Expand description
Capitalize the first letter of a string
§Arguments
s
- The string to be capitalized.
§Returns
A new string with the first letter capitalized.
§Source
https://stackoverflow.com/questions/38406793/why-is-capitalizing-the-first-letter-of-a-string-so-convoluted-in-rust