Skip to main content

string.capitalized

Capitalizes 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.