I came across the following as another way to do the parsing: See . With that you can do things like: String line = ...; StreamTokenizer tok = new StreamTokenizer(new StringReader(line)); tok.resetSyntax(); tok.wordChars('\u0000','\uFFFF'); tok.whitespaceChars(',', ','); tok.quoteChar('\"'); while (tok.nextToken() != StreamTokenizer.TT_EOF) { String word = tok.sval; System.out.println(word); } -- Justausr
Trending Articles
More Pages to Explore .....