title: StringTokenizer extraction limit
body: <p>I'm trying to extract file name in a text file. Currently, i'm using tokenizer. Somehow, not all of the file names is extracted correctly. </p>
  
  <p>This is my code:</p>
  
  <pre><code>list = sc.nextLine();
  token = new StringTokenizer(list,".txt");
  newlist = token.nextToken();
  </code></pre>
  
  <p>This is what happen:
  The token only extract "Kesiha" insted of "Kesihatan"</p>
  
  <p>Solutions?</p>