title: Consecutive Delimiters in StringTokenizer
body: <p>I have to tokenize the following String</p>
  
  <pre><code>12/12/2010:{content1:[{xyz,abc}],13/12/2010:{content2:[{xyz,abc},{content3:[{aa,bb}]}]
  </code></pre>
  
  <p>I nee to split up the above string if it has }] consequtively. So I did,</p>
  
  <pre><code>    String[] tokens = null;
  StringTokenizer csvToken = new StringTokenizer(csvString,"]}");
  tokens = new String[csvToken.countTokens()];
  int tmp = 0;
  while(csvToken.hasMoreTokens()) {
      tokens[tmp++] = csvToken.nextToken();
  }
  </code></pre>
  
  <p>But it is not tokenizing as I expected. </p>
  
  <pre><code>12/12/2010:{content1:[{xyz,abc
  ,13/12/2010:{content2:[{xyz,abc
  ,{content3:[{aa,bb
  </code></pre>
  
  <p>But What I expect was,</p>
  
  <pre><code>12/12/2010:{content1:[{xyz,abc
  ,13/12/2010:{content2:[{xyz,abc},{content3:[{aa,bb
  </code></pre>
  
  <p>how Could I make the code to work as expected?</p>