What do you think it is the best way to remove the quotation marks from a CVS file?

Some days ago I needed to remove the quotation marks (") and I saw this was not easy in gretl because the command 'string' does not allow escape sequences. I did it in this (rather complicated) way using sprintf: (the original CVS file was in string s)

<hansl>
...
sprintf BE1 "\",%s", "BE" # this forms the string "BE
string com
string nu = ""
scalar div1 = sscanf(BE1, "%1s%3s", com, BE2) #this breaks the BE1 string into two parts, the (") symbol in 'com', and the rest in BE2
s = strsub(s, com, nu) #this removes the quotation marks (substitutes them with nu (nothing)).
</hansl>

But with the changes in the sprintf command the first line now does not work. Do we have a way to put a simple (") in a string?



--
Firma Arista
Ignacio Díaz-Emparanza
Zuzendaria/Director
ignacio.diaz-emparanza@ehu.es
94 6013732
EKONOMIA APLIKATUA III SAILA (EKONOMETRIA ETA ESTATISTIKA)/ DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU

Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013740 | F.: +34 946013754
www.ea3.ehu.es
ERNE! Baliteke mezu honen zatiren bat edo mezu osoa legez babestuta egotea. Mezuak badu bere hartzailea. Okerreko helbidera heldu bada (helbidea gaizki idatzi, transmisioak huts egin) eman abisu igorleari, korreo honi erantzunda. Kontuz! Mezua ez bada zuretzat, ez erabili, ez zabaldu beste inori, ez kopiatu eta ez baliatu.
¡ATENCIÓN! Este mensaje contiene información privilegiada o confidencial a la que sólo tiene derecho a acceder el destinatario. Si usted lo recibe por error le agradeceríamos que no hiciera uso de la información y que se pusiese en contacto con el remitente.

E-mail hau inprimatu baino lehen egiaztatu inprimatzeko beharra.
Antes de imprimir este e-mail piense bien si es necesario hacerlo.