title: String[] strings = TextUtils.split(line, "-");
body: <p>i am experimenting with the dictionary sample app that comes with the android eclipse plugin. I'm trying to create a directory of local business'. my issue is this section of code.</p>
  
  <pre><code>try {
      String line;
  
      while((line = reader.readLine()) != null) {
          String[] strings = TextUtils.split(line, "-");
          if (strings.length &lt; 2) continue;
              addWord(strings[0].trim(), strings[1].trim());
          }
      } finally {
          reader.close();
      }
      mLoaded = true;
  }
  </code></pre>
  
  <p>this code allows me to split a line into 2 strings the first being anything before the the hyphen and the second string anything after the hyphen. I am trying to use similar code but i want to break it down into about <code>3 strings</code> as apposed to 2</p>
  
  <p>thanks for the help</p>