public static String join ( String [ ] array , String delimiter ) { if ( empty ( array ) ) { return "" ; } StringBuilder sb = new StringBuilder ( ) ; join ( sb , array , delimiter ) ; return sb . toString ( ) ; }
Joins the items in array with a delimiter .