Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String in a String Exact Match
Message
From
19/09/2007 12:39:00
 
 
To
19/09/2007 12:23:58
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01255518
Message ID:
01255526
Views:
22
Sometimes searched expression can be more complex like:
855965-401 revJ2, 855965-403 revJ2, 855965-405 revJ2


Off the top of my head and untested, you may be able to do this more easily using getwordnum() and getwordcount(). Code similar to this if the revision expression is always at the end of the string you are searching:
lcRevision = GETWORDNUM( lcSearchString, GETWORDCOUNT( lcSearchString ), [ ] )
Previous
Reply
Map
View

Click here to load this message in the networking platform