New CsvFile (gb.util)
Dim hCsvFile
As CsvFile
hCsvFile
= New CsvFile ( Path As String [ , Separator As String, Escape As String, Charset As String, NoDiacritics As Boolean ] )
Create a new CsvFile for reading.
-
Path is the path of the file.
-
Separator is the column separator,
,
by default.
-
Escape is the escape character,
"
by default.
-
Charset is the file charset. If not specified, it will be guessed.
-
NoDiacritics remove all diacritics from field names.
Field names are automatically formatted: trailing and double white spaces are removed, and characters are converted to lower case.
If you want to keep the original field names, set the
KeepNames property just after the creation of the CsvFile object.