StringTokenizer returns what upon encountering multiple delimiters
<p>I am using a string tokenizer to go through a text file, the problem is though that when it encounters a token that is null (my delimiter is "|"; so when I encounter "|data1||data3|") it does not return anything it seems, it just skips it in the file and says nothing. </p>

<p>Can I tell it to inform me when there are skips over a delimiter? Such that for each consecutive delimiter encounter I get told a int of the number of delimiters that were never tokenized. </p>

<p>I need it to inform me when this happens so I can set variables accordingly.</p>
