Here you can find the source of shiftStringArray(String[] input)
private static String[] shiftStringArray(String[] input)
//package com.java2s; /************************************************************************* * * * EJBCA Community: The OpenSource Certificate Authority * * * * This software is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or any later version. * * * * See terms of license at gnu.org. * * * *************************************************************************/ public class Main { /**// w w w. j a v a 2 s.c o m * Remove the first entry in the String array */ private static String[] shiftStringArray(String[] input) { String[] output = new String[input.length - 1]; System.arraycopy(input, 1, output, 0, input.length - 1); return output; } }