This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
This should really be in Java/Basic but, since your here....
Assuming you know that it will consistently be a ", ".
If there are other variations that will need to be handled, look at the String's lastInstanceOf and trim methods, or better, if you can use jsdk1.4 or higher, the regexp tools that now ship with Java. [ January 21, 2005: Message edited by: Ben Souther ]