This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/string.plural.md

31 lines
391 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Returns a plural version of the provided string.
```lua
pl = string.plural("str")
```
### Parameters ###
`str` is the string to be made plural.
### Return Value ###
A plural version of the provided string.
### Availability ###
Premake 5.0 or later.
### Examples ###
```lua
-- returns "projects"
pl = string.plural("project")
-- returns "stories"
pl = string.plural("story")
```