docs: public static HsqlProperties delimitedArgPairsToProps(String s,
              String pairsep, String dlimiter, String type) {
  
          HsqlProperties props       = new HsqlProperties();
          int            currentpair = 0;
  
          while (true) {
              int nextpair = s.indexOf(dlimiter, currentpair);
  
              if (nextpair == -1) {
                  nextpair = s.length();
              }
  
              // find value within the segment
              int valindex = s.substring(0, nextpair).indexOf(pairsep,
                                         currentpair);
  
              if (valindex == -1) {
                  props.addError(NO_VALUE_FOR_KEY,
                                 s.substring(currentpair, nextpair).trim());
              } else {
                  String key = s.substring(currentpair, valindex).trim();
                  String value = s.substring(valindex + pairsep.length(),
                                             nextpair).trim();
  
                  if (type != null) {
                      key = type + "." + key;
                  }
  
                  props.setProperty(key, value);
              }
  
              if (nextpair == s.length()) {
                  break;
              }
  
              currentpair = nextpair + dlimiter.length();
          }
  
          return props;
      }