Record: TParseResult |
Unit: EgStrParser
ParsedValue: string;
The Values
joined into one readable string, to show the user how the input was
understood:
| ResultType | ParsedValue |
|---|---|
otSingleValue |
The value. |
otList |
The values separated by ;. |
otRange |
The two bounds separated by the range separator with a space on each
side (~). |
otEmpty |
Empty. |
R := ParseInput('25032026~31122026', itDate);
// R.ParsedValue = '25/03/2026 ~ 31/12/2026' (pt-PT locale)
lblParsed.Caption := 'Interpreted as: ' + R.ParsedValue;