Du kan eventuelt bruge split();
<pre>
str="Jens,Anders,Søren,Gert,Jesper";
String[] nyStringArray = new String[5];
nyStringArray = str.split("[,]*");
</pre>
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(java.lang.String)-AH
[Redigeret d. 17/12-03 00:19:39 af A.H.]