Java String Array Combine combineArray(String[] str, int start, int end)

Here you can find the source of combineArray(String[] str, int start, int end)

Description

combine Array

License

LGPL

Declaration

public static final String combineArray(String[] str, int start, int end) 

Method Source Code

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

public class Main {
    public static final String combineArray(String[] str, int start, int end) {
        String oString = "";
        for (int i = start; i < end; i++) {
            oString += str[i] + " ";
        }/*from   ww w .j a v  a  2s  .c o  m*/
        return oString.trim();
    }
}

Related

  1. combine(String[] words)
  2. combineArray(String separator, String... stringArray)
  3. combineArray(String[] a, String[] b)
  4. combineArray(String[] args)
  5. combineArray(String[] array, int offset)
  6. combineArrays(String[] array1, String[] array2)
  7. combineSplit(final int startIndex, final String[] string, final String seperator)
  8. combineSplit(int startIndex, String[] string, String separator)
  9. combineSplit(int startIndex, String[] string, String separator)