Ok. I need to store some records in a file namely data.dat
.
Records in the file are sorted by date values. Each block of record starts with its date value along with a $
sign to indicate that a new block of record starts here and ends with a "#" sign to indicate end of the record block.
A sample of a record block would be:
$22/08/2013
(data)
(data)
(data)
#
The file data.dat contains several blocks like this, how can I extract each block in the file storing each in an array using vb.net?