Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why one code works, while other doesn't?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00466654
Message ID:
00466811
Vues:
23
>>>As far as effeicent goes, I'd bet that the cursor idea is faster anyways, so yes. You could easily test it out.
>>
>>Yes, cursor idea turns to be a little bit faster. Well, three lines of code comparing with several not always the best way to achieve the result. This is a lesson for me to the future...
>
>Hello, Nadya.
>
>Have you tried? :
>
>
>llReturn = strToFile( strTran( fileToStr( lcFileName ),["],''), lcSendFileName )
>
>
>Although I suspect that the speed would be the same...

One liner seems to be even slower, than 3 lines.

Basically, the question is: how can I remove double quotes from the text file the most efficient way. Copy to delimited could not produce a file without double quotes.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform