Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I'm loosing a VFP - VB battle
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00342582
Message ID:
00364668
Views:
31
I don't remember the URL, but do a search on "War and Peace" and you'll find it. It actually comes on several different web pages, but you can save them to disk.


>So Craig, where can I get my hands on that text? I need to show some real-world examples over here. Thanks.
>
>>
>>Have them conduct a test. Take any large text file. For example, you can download the text of "War and Peace", which is roughly 3.5 Meg. Do the following in both VB and VFP:
>>
>>- Read the entire file into a variable. In VFP you would use FileToStr()
>>- Count the number of times the word "Anna" is in the text. In VFP use OCCURS()
>>- Replace "Anna" with another word. In VFP use STRTRAN().
>>
>>VFP will run rings around VB here. This shows that VFP is far superior to VB when it comes to text manipulation, which is all HTML is.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform