Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search text and replace it in a text file
Message
 
 
À
03/10/2010 23:08:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01483759
Message ID:
01483782
Vues:
55
>how to search text and replace it in a text file by code
lcText = FILETOSTR("Whatever.txt")
lcNewText = < Find and replace here >
= STRTOFILE(lcNewTex, "AnotherOrTheSame.txt")
Another option is to use LLFF and process file line by line
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform