code: public final static String trim(String value)
      {
          String result = null;
          if (null != value)
          {
              result = value.trim();
          }
  
          return result;
      }
docs: remove the blank characters in the left and right for a given value.
  
  @param value
  @return