title: Get tab-delimited variables from each line in txt
body: <p>Can u help me with splitting tab-delinited words from each line in text file.</p>
  
  <p>For example file contains this data:</p>
  
  <pre><code>26317273105      77016080517    2015-02-11 04:33:37      2015-02-11 04:33:39    2015-02-11 04:39:00 
  26317273123      77715354350    2015-02-11 04:33:37      2015-02-11 04:33:39    2015-02-11 04:33:00  
  26317273125      77715354350    2015-02-11 04:33:37      2015-02-11 04:33:42    2015-02-11 04:33:00  
  26317273127      77715354350    2015-02-11 04:33:37      2015-02-11 04:33:43    2015-02-11 04:33:00  
  </code></pre>
  
  <p>I need to get this values into differnt variables. For example, number=26317273105, phone=77016080517, date1=2015-02-11 04:33:37 etc.</p>
  
  <p>Plz help.</p>
  
  <p>Edit: This is what i try:</p>
  
  <pre><code>public static void GetLines() {
  
      try {
      File fileDir = new File("c:\\download\\tmpfile.txt");
  
      BufferedReader in = new BufferedReader(
         new InputStreamReader(
                    new FileInputStream(fileDir), "windows-1251"));
  
      String str;
  
      while ((str = in.readLine()) != null) {
                  String[] array = str.split("\t");
                  System.out.println(array[0]);
                  System.out.println(array[1]);
                  System.out.println(array[2]);
                  System.out.println(array[3]);
                  System.out.println(array[4]);
      }
  
              in.close();
      } 
      catch (UnsupportedEncodingException e) 
      {
          System.out.println(e.getMessage());
      } 
      catch (IOException e) 
      {
          System.out.println(e.getMessage());
      }
      catch (Exception e)
      {
          System.out.println(e.getMessage());
      }
  }
  </code></pre>
  
  <p>But in output i have values only from first line.</p>
  
  <pre><code>26317273105 
  77016080517 
  2015-02-11 04:33:37 
  2015-02-11 04:33:39
  2015-02-11 04:39:00
  </code></pre>