Hey all,
Please consider the following scenario:
Can someone explain why the observation 1 gets exported with four extra quotes in the .txt file, as
despite being shown in Stata browse as
, given that I'm not specifying the option "quote" on the command export? I fail to see why does the observation 2 gets exported exactly the way it is shown on Stata browse, while observation 1 receives extra quotes.
In the end, I would like to export the observations in a manner such that they look like
when shown in the txt file. Any ideas on achieving that?
Cheers
Please consider the following scenario:
Code:
clear set obs 2 gen id_genbank = ">Seq" + " -j " + `"""' + "bla" + `"""' in 1 replace id_genbank = ">Seq" + " -j " + "bla" in 2 export delimited using test.txt, delimiter(tab) replace *to display where the file was saved pwd
Code:
">Seq -j ""bla"""
Code:
>Seq -j "bla"
In the end, I would like to export the observations in a manner such that they look like
Code:
>Seq -j "bla"
Cheers
Comment