TCSVParser.ParseNextCell function
Parse the next cell.
Declaration
function ParseNextCell: BooleanFunction result
True if a cell was read,
False if no more CSV data is available.Description
ParseNextCell attempts to read the next field in the CSV data, moving to the next row if necessary.
It returns
True if a cell was read successfully,
False if no more CSV data is available
- when the stream has reached EOF. It takes into account the
Delimiter,
QuoteChar and
LineEnding
properties to determine the field boundaries.
When it has returned
True, the properties
CurrentRow,
CurrentCol,
MaxColCount and
CurrentCellText can be used to determine what field was read and what the contents of the field were.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
