premake/website/docs/string.capitalized.md

21 lines
269 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Capitalizes the first letter of a string.
```lua
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.