Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to replace char. or string in a text file ?
Message
 
 
À
18/10/2011 22:32:45
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01526828
Message ID:
01526830
Vues:
57
>Hi,
>I want to use VFP to write a function to open a text file and search
>a word or a char. and then replace it to another char.
>How to code it ?
>or some existing function suggested.
>
>Please advise.
>
>Thanks.
>Derek

If the file is not too big, you can use filetostr, strtran, strtofile functions.
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