premake/website/docs/string.lines.md

20 lines
271 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Returns the number of lines of text contained by the string.
```lua
string.lines("str")
```
### Parameters ###
`str` is the string to be tested.
### Return Value ###
The number of lines of text contained by the string.
### Availability ###
Premake 5.0 or later.