title: read text into array from a specific character to another specific character.(JavaFx)
body: <p>Hi i have really a hard time to get this right. i hope you can help.
  I need to read "Levels" into an array. The levels.txt looks like this.</p>
  
  <pre><code>1
  
      #####
      #   #
      #$  #
    ###  $##
    #  $ $ #
  ### # ## #   ######
  #   # ## #####  ..#
  # $  $          ..#
  ##### ### #@##  ..#
      #     #########
      ####### 
  ; 2
  
  ############
  #..  #     ###
  #..  # $  $  #
  #..  #$####  #
  #..    @ ##  #
  #..  # #  $ ##
  ###### ##$ $ #
    # $  $ $ $ #
    #    #     #
    ############
  </code></pre>
  
  <p>So i need to put level1 for example into Array[1] etc.
  This is my code that i have.</p>
  
  <pre><code>public static void main(String[] args) {
  
          ArrayList&lt;String&gt; arr = new ArrayList&lt;String&gt;();
          try (BufferedReader br = new BufferedReader(new FileReader("levels(2).txt")))
          {
  
              String sCurrentLine;
  
              while ((sCurrentLine = br.readLine()) != null) {
                  arr.add(sCurrentLine);
              }
              for (String s : arr) {
                  System.out.println(s);
              }
          } catch (IOException e) {
              e.printStackTrace();
          }
  
      }
  </code></pre>
  
  <p>So my problem is i don't know how to read each level separately from the "level number" to the ";"</p>