Android String Array Join implode(String[] array)

Here you can find the source of implode(String[] array)

Description

implode

Declaration

public static String implode(String[] array) 

Method Source Code

//package com.java2s;

public class Main {
    public static String implode(String[] array) {
        if (array != null && array.length > 0) {
            StringBuilder sb = new StringBuilder();
            for (String string : array) {
                sb.append(string);//  w  w w.j a  v  a 2 s  .c o  m
            }
            return sb.toString();
        }
        return "";
    }
}

Related

  1. join(String delimiter, String[] array)
  2. join(String[] strArray, String separator)
  3. join(String[] array, String separator)
  4. arrayToStr(String[] array)
  5. arrayToStr(String[] array, String delim)
  6. join(String[] array, String separator, boolean ignoreNull)
  7. join(String[] list, String sep)
  8. toString(String[] arr, String delimiter)
  9. join(String[] strArray, char separator)