public static String [ ] allUpperCase ( String ... strings ) { String [ ] tmp = new String [ strings . length ] ; for ( int idx = 0 ; idx < strings . length ; idx ++ ) { if ( strings [ idx ] != null ) { tmp [ idx ] = strings [ idx ] . toUpperCase ( ) ; } } return tmp ; }
Make all elements of a String array upper case .