21 lines
269 B
Markdown
21 lines
269 B
Markdown
|
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.
|
||
|
|