Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: java experts

$
0
0

Hi Venky,

 

Here is the new code

 

for(int a=0;a<inp.length;a++){  String tmp[] = inp[a].split("\n");  StringBuffer sb = new StringBuffer("");  for(int b=0;b<tmp.length;b++){  if(tmp[b].indexOf("SI-")>-1||tmp[b].indexOf("E2-")>-1){  sb.append(tmp[b].substring(tmp[b].indexOf("-")+1).replaceAll("-","|-")+" | ");  }  }  result.addValue(sb.toString().substring(0,sb.toString().length()-2));
}

test.png

Regards,

Mark


Viewing all articles
Browse latest Browse all 9052

Trending Articles