Want to ask how to detect new line
For example, I need to read in a text file in this format
John 123 Y 1
abc
def
ghi
Jane 456 N 1
xyz
Jack 789 N 1
xxx
xxx
how do i detect the empty line and read in the next line?
i need to get the info for line 1, 6 and 9 only