Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing long text
Message
 
À
18/01/2013 08:48:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01562861
Message ID:
01563336
Vues:
59
super - one line - got to love it. thanks Peter
k

>>I have a long text that i want to shorten to another text file mytext.txt TO mytext2.txt (short version)
>>i would like to remove everything before the symbol >>__________ below in mytext2
>>
>>so in brief:
>>mytext.txt is complete, mytext2.txt shows everything AFTER the '>>__________' symbol that appears in mytext.txt
>>
>>any suggestions on the shortest possible route to do this would be appreciated.
>>thanks
>>k
>
>try:
>
>strtofile( strextr(filetostr([mytext.txt ]), [>>__________] ,[],1,3),[mytext2.txt])
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform