public static String concatStrings(final String delimiter,final String... texts){
  final String delim=delimiter == null ? SP_STRING_EMPTY : delimiter;
  final StringBuilder conCatStrBldr=new StringBuilder();
  if (null != texts) {
    for (    final String text : texts) {
      conCatStrBldr.append(delim);
      conCatStrBldr.append(text);
    }
  }
  final String conCatedStr=conCatStrBldr.toString();
  return delim.length() > 0 && conCatedStr.startsWith(delim) ? conCatedStr.substring(1) : conCatedStr;
}

public static String concatStrings ( final String delimiter , final String ... texts ) { final String delim = delimiter == null ? SP_STRING_EMPTY : delimiter ; final StringBuilder conCatStrBldr = new StringBuilder ( ) ; if ( null != texts ) { for ( final String text : texts ) { conCatStrBldr . append ( delim ) ; conCatStrBldr . append ( text ) ; } } final String conCatedStr = conCatStrBldr . toString ( ) ; return delim . length ( ) > 0 && conCatedStr . startsWith ( delim ) ? conCatedStr . substring ( 1 ) : conCatedStr ; }
concatenate the given text all the string arguments with the given delimiter .
