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.