Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
$, but for words
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00823290
Message ID:
00823294
Views:
28
This message has been marked as the solution to the initial question of the thread.
>I want to find certain words in a string. meaning the word can be at the beginning of the string followed by a space, at the end of the string preceeded by a space, or in the middle of the string both preceeded and followed by a space. I use VFP 6.0 SP5. How can I accomplish this without my current bunch of goobly gook code.
>
>Thanks
>
>Brenda
lnPos = at(" " + m.lcWord + " ", " " + m.lcString + " ")
if m.lnPos >0 && the word is in the string
   ...
endif
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform