how to split this string[LECT-3A,instr01,Instructor 01,teacher,instr1@learnet.com,,,,male,phone,,] as my requirement in java
<p>hello every one i got a string from csv file like this  </p>

<pre><code>LECT-3A,instr01,Instructor 01,teacher,instr1@learnet.com,,,,male,phone,,
</code></pre>

<p>how to split this string with comma  i want the array like this</p>

<pre><code> s[0]=LECT-3A,s[1]=instr01,s[2]=Instructor 01,s[3]=teacher,s[4]=instr1@learnet.com,s[5]=,s[6]=,s[7]=,s[8]=male,s[9]=phone,s[10]=,s[11]=
</code></pre>

<p>can anyone please help me how to split the above string as my array </p>

<pre><code>thank u inadvance
</code></pre>
