Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing from a line delimited text file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00094304
Message ID:
00095280
Vues:
39
>>And once I DID get a file delimited with "|". Nasty to handle.
>>
>
>I see it all the time, actually. DHL sends out their rate and route files using the bar delimiter, and it's a PITA the first time you encounter it. The solution we settled on was to use low-level file I/O to read the file a line at a time, and then parse the line into a vector using AT() to isolate token values. Once written, the solution works regardless of what the delimiting character is.

Great minds... that's almost exactly what I ended up doing.
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform