Skip to content

raylib.LoadTextLines

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Split text into a list of lines, at each line feed

Parameters

Parameter Default Value Note
text

Return value

Condition Return Value
(always) list

Notes

Example

// Split a multi-line string into individual lines
text = "line one" + char(10) + "line two" + char(10) + "line three"
lines = raylib.LoadTextLines(text)
for line in lines
    print line
end for

Clone this wiki locally