code: public static String stripParameters(String value) {
          if (value == null)
              return null;
  
          int i = value.indexOf(';');
          if (i < 0)
              return value;
          return value.substring(0, i).trim();
      }
docs: Get field value without parameters. Some field values can have
  parameters. This method separates the value from the parameters and
  optionally populates a map with the parameters. For example:
  
  <PRE>
  <p>
  FieldName : Value ; param1=val1 ; param2=val2
  
  </PRE>
  
  @param value The Field value, possibly with parameters.
  @return The value.