Create

Class: TEgStrParser | Unit: EgStrParserComp

constructor Create(AOwner: TComponent); override;

Creates the component and sets the defaults: SqlDialect sqlElevateDB, DefaultOptions [], DefaultRangeSep '~', DefaultOperator sopEqual, LastControl nil.

AOwner frees the component when it is freed; with nil the caller must free it.

// One instance per worker thread
Parser := TEgStrParser.Create(nil);
try
  Parser.SqlDialect := sqlPostgreSQL;
  R := Parser.Parse(Input, itDate);
finally
  Parser.Free;
end;

See Also

(C) 2026 Easygate, Lda