Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem Characters in CSV File
Message
De
15/11/2003 07:45:44
 
 
À
15/11/2003 05:37:22
Stuart Ramsey
Medical Business Systems
East Gosford, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00850208
Message ID:
00850218
Vues:
23
Hi Stuart

> Have tried FiletoStr, StrTran then StrtoFile to replace chars with blanks, doesn't work.

You should be able to get these using CHRTRAN() or STRTRAN() - but you have to specify them as CHR(XX) as follows:

0A = CHR(10)
0B = CHR(11)
0C = CHR(12)

Thus:

lcResult = CHRTRAN( lcInString, CHR(10)+CHR(11)+CHR(12), '' )
----
Regards
Andy Kramek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform