I am trying to load a file with many columns into QGIS. With both .txt and .csv format the leading zeroes of some data values get lost. However, I need the leading zeroes to merge the file with a map.
Using .csvt does not make much sense here, as I have too many columns and will use different files with different numbers of columns and therefore I would have to adapt the .csvt file everytime.
I am also not able to use a field calculator to adapt the columns once loaded into QGIS as the field calculator is inactive for .csv or .txt files.
Is there another way to ensure that the leading zeroes do not get lost? The file is generated with R. I don't know if this is relevant

,"00012344",? – user30184 Aug 18 '17 at 08:18"string","string","string","string","string","string","string","string","string","string"
– Mike -EZUSoft- Aug 18 '17 at 09:03only the first column must be a string:
-generate a csvt with content "string"
– Mike -EZUSoft- Aug 18 '17 at 10:12