title: How do I split a string on an empty line using .Split()?
body: <p>For a class project I have to load a text file into a linked list. So far, I have been able to read from the file, but I am struggling to split it up into sections so that I can put it into the linked list. </p>
  
  <p>For example, I would like to split these items up at the empty lines:<p>
  David<br>
  Hunter<br>
  No1<br>
  Admin<br></p></p>
  
  <p>John<br>
  Smith<br>
  No11<br>
  Sales<br></p>
  
  <p>
  Jane <br>
  Appleby<br>
  No5<br>
  Accounts</p>
  
  <p>I have tried <code>String[] people = record.Split('\n');</code> but of course, this just splits it at every line.</p>
  
  <p>I have also tried:<br>
   <code>String[] people = record.Split('\n\r');</code> <br>
   <code>String[] people = record.Split('\r\n');</code><br>
   <code>String[] people = record.Split('\n\n');</code><br>
  but it won't compile due to "too many characters in character literal"</p>
  
  <p>Could anyone please suggest a way to do this (preferably without regex)?</p>