CsvFile.Open (gb.util)
Static Function Open ( Path As String [ , Separator As String, Escape As String, Charset As String ] ) As CsvFile
Open a CSV file for reading and return it as a CsvFile object.
-
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.
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.