indicate blank line to tokenizer
My code reads in a file line by line, and tokenizes each line of the file, for example:
bla bla bla
more words bla
bla bla
words words
words words words
words words words
bla bla bla bla
As you can see, in the above file, there are blank lines. When reading through each line of the file and tokenizing it with strArray (I put the tokens on each line of the file into an array), I do this:
if(strArray[0].equals("bla"))
{
DO SOMETHING
}
What I want to say is if the StringTokenizer hits a blank line, do SOMETHING ELSE. But how do I indicate that to the StringTokenizer, i.e. how does it recognise a blank line?

