Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading Text
Message
 
 
À
02/11/2001 13:21:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00576452
Message ID:
00576885
Vues:
19
>Thanks for the advise, I came up with this, do you see any problems with it?
>
>lcStr=filetostr('mytext.txt')
>lnCut= rat(chr(13),lcStr)
>lcClip=left(lcStr,(lnCut-1))
>lnPos = rat(chr(10),lcClip)
>lcFinalStr=substr(lcClip, lnPos+1)
>? lcFinalStr

It's essentially the same, as I wrote, but with more commands for improving readability.
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