Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locate a word
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01305566
Message ID:
01305633
Views:
6
>One can easily see if some text exists in a field, for example:
>cNotes = 'This is SallyAnne Jones.'
>
>
>?"SALLY"$UPPER(cNotes)
>(returns .T.)
>
>
>Is there a way of finding only a word?
>In my simple example it should return .F. because SALLY is not a word.
>Is there a way?
>
>Cyril

?
" sally " $ space(1) + lower(cNotes) + space(1)
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