Java Array Sub Array subArray(String[] strings, int nStart)

Here you can find the source of subArray(String[] strings, int nStart)

Description

sub Array

License

Open Source License

Declaration

public static String[] subArray(String[] strings, int nStart) 

Method Source Code

//package com.java2s;

public class Main {
    public static String[] subArray(String[] strings, int nStart) {
        String[] out = new String[strings.length - nStart + 1];

        for (int i = nStart; i < strings.length; ++i) {
            out[i] = strings[i];//from   w w  w. j  a v  a 2s .c om
        }

        return out;
    }
}

Related

  1. subArray(String a[], int from)
  2. subarray(String[] args, String sep)
  3. subArray(String[] array, int start, int endExclusive)
  4. subArray(String[] data, int index, int length)
  5. subarray(String[] master, int index)
  6. subarray(T[] a, int off, int len)
  7. subArray(T[] array, int start, int end)
  8. subArray(T[] array, int start, int end)
  9. subArray(T[] array, int startIndex, int endIndex)