idx = value.indexOf(" ");
idx = value.indexOf(";");
  private static String getParameter(String paramName, String mimeString)  {    int idx = mimeString.indexOf(paramName + "=");    if (idx == -1)      return(null);      String value = mimeString.substring(idx + paramName.length() + 1);      idx = value.indexOf(" ");    if (idx == -1)      return(value);    else      return(value.substring(0, idx));  }