>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
...
endif
If it's not broken, fix it until it is.
My Blog