Skip to main content

string.lines

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.