Howdy,

String [] undelimit(String input, char separatorChar, char quoteChar);

a, , b, "c,d,e", "f""g""h",

would return the following tokens:

1- a
2- <blank>
3- b

Very handy. I'd suggest that in the above case, the 2nd & 6th entry return a null. There are times you need to know that there basically wasn't any data (and empty element) which could be different from a empty string (i.e. "").


Just a thought.

Gerry

--
Gerry Duprey
________________________________________
SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819

Visit us Online at www.Schools-OPEN.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to