Java Array Trim trim(String[] args)

Here you can find the source of trim(String[] args)

Description

trim

License

Open Source License

Declaration

public static String[] trim(String[] args) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.util.Arrays;

public class Main {
    public static String[] trim(String[] args) {
        return (String[]) Arrays.copyOfRange(args, 1, args.length);
    }/*from w  w w  .  j a  v a2  s. c om*/
}

Related

  1. trim(byte[] bytes)
  2. trim(byte[] bytes, int endMargin)
  3. trim(byte[] data)
  4. trim(byte[] src, byte padding, boolean right, int minLength)
  5. trim(String s, char delimit[])
  6. trim(String[] array)
  7. trim(String[] array)
  8. trim(String[] data)
  9. trim(String[] s)