line_split function

Split lines into two parts