public static String arrayJoin ( List < String > arr , String separator ) { return ( arr == null || separator == null ) ? "" : StringUtils . join ( arr , separator ) ; }
Joins a list of strings to String using a separator .