Function_Capitalize The capitalize() function converts only the first letter of the string to uppercase.