Java Array Slice sliceStringArray(String[] a, Integer l)

Here you can find the source of sliceStringArray(String[] a, Integer l)

Description

slice String Array

License

Creative Commons License

Declaration

public static String sliceStringArray(String[] a, Integer l) 

Method Source Code

//package com.java2s;
//License from project: Creative Commons License 

public class Main {
    public static String sliceStringArray(String[] a, Integer l) {
        String s = "";
        for (int i = l; i < a.length; i++) {
            s += a[i] + " ";
        }//from w w  w.ja va 2s  .c o  m
        return s.trim();
    }
}

Related

  1. sliceArray(final String[] array, final int start)
  2. SliceByteArray(byte data[], int offset, int length)
  3. sliceBytes(byte[] bytes, int offset, int length)
  4. sliceFromFinalBoundary(Object[] sequence, Boolean[] boundaries)
  5. slicesFromAllBoundaries(Object[] sequence, Boolean[] boundaries)