[size=small] public static String text(String[] str){
StringBuffer sb = new StringBuffer();
if(str != null){
for(String obStr:str){
sb.append(obStr+",");
}
}
int len = sb.length();
if(len >0){
sb.deleteCharAt(len-1);
}
return sb.toString();
} [/size]
StringBuffer sb = new StringBuffer();
if(str != null){
for(String obStr:str){
sb.append(obStr+",");
}
}
int len = sb.length();
if(len >0){
sb.deleteCharAt(len-1);
}
return sb.toString();
} [/size]