>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