Split string array using comma delimeter in java
<p>I have a string array --> 
<code>string[] arr={"CSE01A","ECE02B","MECH03C"};</code> </p>

<p>Now I have to print course=<code>CSE01, ECE02,MECH03</code> 
and grade= <code>'A','B','C'</code> </p>

<p>I tried to use split() using the comma delimiter but that is not working for an array of strings.. </p>

<p>Please let me know how to do this.</p>
