Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing Comma Delimited Data
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00443605
Message ID:
00443641
Vues:
10
Hi Bret & Cindy,

I've just finished answering in another thread. One caution here: strtofile technique would work only for files less than 16MB. If the files are huge, I don't know any other alternatives than low-level functions.

Of course, Ed may suggest something with WSH object here :)

>>Russell,
>>
>>Here's how to do the transformations Bret mentioned.
>>
>>STRTOFILE(CHRTRAN(FILETOSTR([MyFile.txt]), CHR(13), []), [MyFile.txt])
assuming CHR(13) is the one you want to strip out. If you want to put them back in later maybe you could replace them with something not commonly used like "~" or "`".
>
>Now Cindy you leave nothing left for him to investigate. The thrill of VFP is learning what the commands can do through research. I will point someone to Montana, but it is up to them if they visit a see the real beauty of what is there. :)
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