Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search for new line
Message
From
03/10/2014 07:12:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
03/10/2014 01:05:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01608721
Message ID:
01608729
Views:
41
>How can I search for a "new line" plus a string in a text file?
>What function should be used?
>Thanks

With alines(), you don't worry about the low-level details of parsing the text file by lines. Visual FoxPro does it for you (separating the string, which may have been read with filetostr(), into array elements - one element per line).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform