capitalize
Makes the first character of a string capitalized and converts the remaining characters to lowercase.
Input
Output
Only the first character of a string is capitalized, so later words are not capitalized:
Input
Output
Last updated
Makes the first character of a string capitalized and converts the remaining characters to lowercase.
Input
Output
Only the first character of a string is capitalized, so later words are not capitalized:
Input
Output
Last updated