title: Ignore parentheses with string tokenizer?
body: <p>I have an input that looks like: <code>(0 0 0)</code><br>
  I would like to ignore the parenthesis and only add the numbers, in this case 0, to an arraylist.<br>
  I am using scanner to read from a file and this is what I have so far</p>
  
  <pre><code>    transitionInput = data.nextLine();
      st = new StringTokenizer(transitionInput,"()", true);
      while (st.hasMoreTokens())
      {
          transition.add(st.nextToken(","));
      }
  </code></pre>
  
  <p>However, the output looks like this <code>[(0 0 0)]</code><br>
  I would like to ignore the parentheses</p>