>>>>I have not an universal answer,
>>>>but
>>>>
>>>>
>>>>? ' '+'king'+' ' $ ' '+CHRTRAN('king. and I','.'+0hA0D,SPACE(3))+' '
>>>>
>>>
>>>I don't have VFP here, but AFAIK it would not work.
>>>
>>>k.ing and I
>>
>>Not really, Nadya,
>>
>>The dot gets transformed into a space char, hence 'k ing'
>
>You're right and Fabio is right. Hard to work everything in the head.
>
>What about the . at the beginning of the word?
>
>.king and I ?
>
>.king is not a word.
The . is a word separator or boundary. So both methods will match '.king'
Gregory