Capitalizes the first character of a string and lowercases the rest. Takes str (string to capitalize). Returns a new string with the first character converted to uppercase and all remaining characters converted to lowercase.
str
String
; No example implemented yet