Java Array to String arrayToString(String[] array, int start, String delimiter)

Here you can find the source of arrayToString(String[] array, int start, String delimiter)

Description

array To String

License

Apache License

Declaration

public static String arrayToString(String[] array, int start, String delimiter) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String arrayToString(String[] array, int start, String delimiter) {
        String ret = "";
        for (int i = start; i < array.length; i++) {
            if (i < array.length - 1) {
                ret += array[i] + delimiter;
            } else {
                ret += array[i];/*from w ww.j  a  v a 2 s  .com*/
            }
        }
        return ret;
    }
}

Related

  1. arrayToString(String[] array)
  2. arrayToString(String[] array)
  3. arrayToString(String[] array)
  4. arrayToString(String[] array)
  5. arrayToString(String[] array)
  6. arrayToString(String[] array, String delim, boolean quotes)
  7. arrayToString(String[] array, String separator)
  8. arrayToString(String[] array, String separator)
  9. arrayToString(String[] array, String separators)