StringcapitalizeOn this pagecapitalize_.capitalize(string) # Ⓢ [Ⓣ][1] Ⓝ Converts the first character of string to upper case and the remaining to lower case. Since 3.0.0 Arguments string (string): The string to capitalize. Returns (string): Returns the capitalized string. Example _.capitalize('FRED');// => 'Fred'