public static StringList listToStringListRemoveEmpty(String list,char delimiter){
  int len=list.length();
  StringList rtn=new StringList();
  if (len == 0)   return rtn.reset();
  int last=0;
  for (int i=0; i < len; i++) {
    if (list.charAt(i) == delimiter) {
      if (last < i)       rtn.add(list.substring(last,i));
      last=i + 1;
    }
  }
  if (last < len)   rtn.add(list.substring(last));
  return rtn.reset();
}

public static StringList listToStringListRemoveEmpty ( String list , char delimiter ) { int len = list . length ( ) ; StringList rtn = new StringList ( ) ; if ( len == 0 ) return rtn . reset ( ) ; int last = 0 ; for ( int i = 0 ; i < len ; i ++ ) { if ( list . charAt ( i ) == delimiter ) { if ( last < i ) rtn . add ( list . substring ( last , i ) ) ; last = i + 1 ; } } if ( last < len ) rtn . add ( list . substring ( last ) ) ; return rtn . reset ( ) ; }
casts a list to array object remove empty elements
