public static String arrayToListTrim(String[] array,String delimiter){
  return trim(arrayToList(array,delimiter),delimiter,false);
}

public static String arrayToListTrim ( String [ ] array , String delimiter ) { return trim ( arrayToList ( array , delimiter ) , delimiter , false ) ; }
convert a string array to string list , removes empty values at begin and end of the list
