title: String Tokenizer changing Delimiters, don't show it
body: <p>I need to split a string that is "Kermit D.Frogge", so this is the code I used:</p>
  
  <pre><code>firstName = strTkn.nextToken();
  middleInitial = strTkn.nextToken("."); 
  //changing the delimiters to a . because there is no space between D and Frogge
  lastName = strTkn.nextToken(" "); 
  //changing delimiters back to a space
  hourlyWage = Double.parseDouble(strTkn.nextToken());
  </code></pre>
  
  <p>However, the result is:</p>
  
  <pre><code>Kermit
  D
  .Frogge
  </code></pre>
  
  <p>How would i use string tokenizer and not keep the period?</p>