title: Issue with getline() delimiter
body: <p>I am trying to read through a file and get specific strings on each line. The end of the string that i need is marked by a semicolon. I have no problems doing this, but I am noticing that getline() with the delimiter is automatically attaching a new line to my string.</p>
  
  <pre><code> filename.open(FileName);
   while(filename)
    {
      getline(filename, name[counter], ';');
  
      filename &gt;&gt; amount[counter] &gt;&gt; unit[counter] &gt;&gt; calories[counter];
      counter++;
  
    }
  </code></pre>
  
  <p>So when i would go to print out the name array there would be 1 extra line break that I had not put there myself as if there was an extra '\n' being picked up along the way. Does anyone have a solution? An example of the file format that I am reading from is below.</p>
  
  <p>Dave Jones; 24 Tall<br>
  Jillian Jones; 34 Short
  etc...</p>