I'm trying to use LoadCSV() from the stringutils.
My data is stored like:
"field1" TAB "field2" TAB "field3"
"field1" TAB "field2" TAB "field3"
Using the LoadCSV() with separators like , ; : works ok.
The data is exported from another tool and i cannot change the separator.
Have tried using:
LoadCSV("dir", "somefile", "|")
LoadCSV("dir", "somefile", TAB)
LoadCSV("dir", "somefile", Asc(9))
I can always remove the " before inserting to sqlite using regexp or some other strtool.
But how can i separate the fields ?
My data is stored like:
"field1" TAB "field2" TAB "field3"
"field1" TAB "field2" TAB "field3"
Using the LoadCSV() with separators like , ; : works ok.
The data is exported from another tool and i cannot change the separator.
Have tried using:
LoadCSV("dir", "somefile", "|")
LoadCSV("dir", "somefile", TAB)
LoadCSV("dir", "somefile", Asc(9))
I can always remove the " before inserting to sqlite using regexp or some other strtool.
But how can i separate the fields ?