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));
}Regards,
Mark
