how to split string after first occurrence of alphanumeric character?

String strArray="135(i),15a,14(g)(q)12,67dd(),kk,159";//splited by ','

divide string after first occurrence of alphanumeric value/character

expected output :

          original         expected o/p
          15a              s1=15   s2=a
          67dd()           s1=67   s2=dd()
          kk               s1=""   s2=kk
          159              s1=159  s2=""

Please help me................

View Answers









Related Tutorials/Questions & Answers:
Advertisements