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
0 Response to Doubt when exporting string with quotes to .txt
Post a Comment