title: useDelimeter(",") not working
body: <p>I have a text file that holds data like this:  </p>
  
  <pre><code>Jones,Mary,903452
  4342,2.5,A
  3311,4,B+
  </code></pre>
  
  <p>I'm using Scanner to read the file.  This is my code:</p>
  
  <pre><code>while(reader.hasNextLine())
  { 
          reader.useDelimiter(",");
  
          String lastN = reader.next();
          String firstN = reader.next();
          String id = reader.nextLine();
  
          String course1 = reader.next();
          double credits = reader.nextDouble();
          String grade = reader.nextLine();
  }
  </code></pre>
  
  <p>But when I print the line on the console, the <code>,</code> on the last part of the line doesn't get delimited and it prints like this:</p>
  
  <pre><code>Jones, Mary, ,903452
  4342, 2.5, ,A
  6.5, ,3.569
  </code></pre>
  
  <p>My toString method on my class:  </p>
  
  <pre><code>public String toString() {
    return lastName + ", " + firstName + ", " + idNo + "\n"
              + courseOne + ", " + credits + ", " + grade;
  </code></pre>
  
  <p>I'm searched around for a solution.  I tried <code>reader.useDelimiter("[,]")</code> and <code>reader.useDelimiter(",|,")</code> but still gives me the same output.  How can I fix this?  </p>