Skip to content

string.lines

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Returns the number of lines of text contained by the string.

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.

Clone this wiki locally