Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing long text
Message
From
18/01/2013 22:44:44
 
 
To
18/01/2013 08:48:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01562861
Message ID:
01563336
Views:
58
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])
>
Previous
Reply
Map
View

Click here to load this message in the networking platform