code: private static int lengthOfMimeNames(String val) {
          // look for the space preceding the optional high char
          int len = val.indexOf(' ');
          // If len is zero it means the optional part is not there, so
          // the value must be all Mime names, so set the length appropriately
          if (len < 0)  
              len = val.length();
          
          return len;
      }
docs: Get the length of the Mime names within the property value
  @param val The value of the property, which should contain a comma
  separated list of Mime names, followed optionally by a space and the
  high char value
  @return