CsvFileInputRecordStream.ScanForTag
- Updated2026-02-03
- 1 minute(s) read
CsvFileInputRecordStream.ScanForTag
Syntax
CsvFileInputRecordStream.ScanForTag( tag, ignoreCase)
Return Value
Returns 0 if the tag was found. Returns non-zero if end of file was encountered without finding the tag.
Purpose
Search forward through the file for the line beginning with the specified string. Reading begins from the next line.
Remarks
Use CsvFileInputRecordStream.ScanForTag to search through a CSV file for a known string that indicates the location of the records you wish to read.
Parameters
tag As String
[In] The tag to search for.
ignoreCase As Boolean
[In] Specifies whether to perform case-sensitive or case-insensitive matching. Specify true to ignore case, or false to perform case-sensitive matching.