Function SplitLines

SplitLines(string)
The function returns an array containing lines of a multi-line string. Example:
Res = SplitLines("hi" & chr(10) & "hello" & chr(10) & "howdy" & chr(10) & "welcome")
DrawText(10, 10, Res[1]) ' will print "hi"
DrawText(10, 30, Res[2]) ' will print "hello"
DrawText(10, 50, Res[3]) ' will print "howdy"
DrawText(10, 70, Res[4]) ' will print "welcome"
DrawText(10, 90, Res[5]) ' will print nothing, Res[5] is null

See also: