Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Records to cursor after Specific Word
Message
 
To
15/08/2017 11:58:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01653315
Message ID:
01653342
Views:
47
Maybe there is somethimg better, but you could try this:
ct = "*test*1*test2*2"
? ALINES(aTest,ct,4,"*")
FOR i = 1 TO ALEN(aTest)
    ? "*" + aTest[i] + "*" + aTest[i+1]
    i = i +1
Next
Best regards

Thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform