src/main/java/org/jboss/util/Strings.java
/**
    * Trim each string in the given string array.
    *
    * <p>This modifies the string array.
    *
    * @param strings    String array to trim.
    * @return           String array with each element trimmed.
    */
Trim each string in the given string array.
This modifies the string array.

@param strings    String array to trim.
@return           String array with each element trimmed.
Trim each string in the given string array . This modifies the string array . @param strings String array to trim . @return String array with each element trimmed .
public static String[] trim(final String[] strings)
   {
      for (int i = 0; i < strings.length; i++)
      {
         strings[i] = strings[i].trim();
      }
      return strings;
   }
public static String [ ] trim ( final String [ ] strings ) { for ( int i = 0 ; i < strings . length ; i ++ ) { strings [ i ] = strings [ i ] . trim ( ) ; } return strings ; }
Trim each string in the given string array.
Trim each string in the given string array .