code: public Splitter trim(char c) {
      Matcher matcher = new CharMatcher(c);
      return new Splitter(pairSeparator, keyValueSeparator, matcher, matcher);
    }
docs: Returns a splitter that removes all leading or trailing characters
  matching the given character from each returned key and value.
  
  @param c character
  @return a splitter with the desired configuration