public static String[] trimItems(String[] arr) {
	for (int i = 0; i < arr.length; i++) {
	    arr[i] = arr[i].trim();
	}
	return arr;
    }
public static String [ ] trimItems ( String [ ] arr ) { for ( int i = 0 ; i < arr . length ; i ++ ) { arr [ i ] = arr [ i ] . trim ( ) ; } return arr ; }
trim every single item of the array

@param arr
@return