The following method might be extremely useful for people: String [] undelimit(String input, char separatorChar, char quoteChar);
This method splits a string according to a Delimiter seperated format (CSV) for example. It takes into account quoting, as well as allowing for empty tokens. So a string like the following: a, , b, "c,d,e", "f""g""h", would return the following tokens: 1- a 2- <blank> 3- b 4- c,d,e 5- f"g"h 6- <blank> It happens to strip leading whitespace, but i could always make that optional. It's an extremely efficient algorithm which runs through the underlying character array one character at a time to build the tokens. Any thoughts?