title: Deep text file processing
body: <p>When dealing with text files in java, is there any way to achieve this results:</p>
  
  <p>Assuming that my text file contains the data below(User number, first name, last name, username, user type)</p>
  
  <pre><code>Num010101   James   Jackson   JJ123   Normal_User
  </code></pre>
  
  <p>Now I have another file that contains login info (user, password)</p>
  
  <pre><code>JJ123   abc
  </code></pre>
  
  <p>When the the user logs in to the system I'd like to check the first file using .contains(username), now if the username is found within a line then I want to print the first and last name which are separated by a tab character. </p>
  
  <p>I prefer not to use mapping here I want to print the line without the first, third and forth value.</p>
  
  <p>In c++ I normally do it using the map library or iterator (for example &lt; First_value, Second_Value > and i->first , i->second) but since I'm new to java I am kind of stuck.</p>
  
  <p>I'd like to skip the first, third and forth value in printing, that is what I am looking for not mapping.</p>