Referencestringstring.capitalizedOn this pagestring.capitalizedCapitalizes the first letter of a string. s = string.capitalized("s") Parameters s is the string value to be capitalized. Return Value The input string with the first letter capitalized. Availability Premake 5.0 or later.