Android Array to String Convert stringArrayToString(String[] array)

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

Description

string Array To String

Declaration

public static String stringArrayToString(String[] array) 

Method Source Code

//package com.java2s;

public class Main {
    public static String stringArrayToString(String[] array) {
        if (array == null || array.length == 0)
            return "";
        StringBuilder string = new StringBuilder();
        for (String item : array) {
            string.append(item).append(',');
        }/*  ww w .j av a2  s  .  c om*/
        return string.toString();
    }
}

Related

  1. toStringArrayToString(String[] array)
  2. ArraysToString(String[] arrays)
  3. ArrayToString(Object[] ary)
  4. stringArrayToString(String[] array)
  5. intArraysToString(int[] arrays)
  6. convertToString(long[] ids)