Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why one code works, while other doesn't?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00466654
Message ID:
00466811
Views:
22
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform