title: Split lines into two Strings using BufferedReader
body: <p>I want to split each line into two separate strings when reading through the txt file I'm using and later store them in a HashMap. But right now I can't seem to read through the file properly. This is what a small part of my file looks like:</p>
  
  <pre><code>....
  CPI       Clock Per Instruction 
  CPI       Common Programming Interface [IBM]
  .CPI      Code Page Information (file name extension) [MS-DOS]
  CPI-C     Common Programming Interface for Communications [IBM]
  CPIO      Copy In and Out [Unix]
  ....
  </code></pre>
  
  <p>And this is what my code looks like:</p>
  
  <pre><code>    try {
          BufferedReader br = new BufferedReader(new FileReader("akronymer.txt"));
          String line;
  
          String akronym;
          String betydning;
          while((line = br.readLine()) != null) {
              String[] linje = line.split("\\s+");
  
              akronym = linje[0];
              betydning = linje[1];
  
              System.out.println(akronym + " || " + betydning);
          }
      } catch(Exception e) {
          System.out.println("Feilen som ble fanget opp: " + e);
      }
  </code></pre>
  
  <p>What I want is to store the acronym in one String and the definition in another String</p>