public static String arrayToList(Array array,String delimiter) throws PageException {
  if (array.size() == 0)   return "";
  StringBuilder sb=new StringBuilder(Caster.toString(array.get(1,"")));
  int len=array.size();
  for (int i=2; i <= len; i++) {
    sb.append(delimiter);
    sb.append(Caster.toString(array.get(i,"")));
  }
  return sb.toString();
}

public static String arrayToList ( Array array , String delimiter ) throws PageException { if ( array . size ( ) == 0 ) return "" ; StringBuilder sb = new StringBuilder ( Caster . toString ( array . get ( 1 , "" ) ) ) ; int len = array . size ( ) ; for ( int i = 2 ; i <= len ; i ++ ) { sb . append ( delimiter ) ; sb . append ( Caster . toString ( array . get ( i , "" ) ) ) ; } return sb . toString ( ) ; }
convert array object to string list
