DUH!!
It works like a charm! I appreciate your help.
Thanks,
TFISHER
>As I said, the STUFF() is function and as such returns result of it action. See correction in the code below
>>
>>Here is the code. The memo field, lcJuris, in this particular case is over 500 characters in length. I have located the phrase "did:" in the field and have added 4 to that number so the inserted work starts just after the colon. I now want to insert the phrase [knowingly] at that point in the memo field.
>
>>LOCAL ;
>> lcColon , ;
>> lcknowingly
>>
>>SET STEP ON
>>
>> lcColon = AT("did:",lcJuris)
>> lcColon = lcColon +4
>> lcknowingly = " [knowingly] "
>>
>> IF "purposely" $ lcJuris OR;
>> "knowingly" $ lcJuris OR;
>> "recklessly" $ lcJuris OR;
>> "negligently" $ lcJuris
>> ELSE
> lcJuris = STUFF(lcJuris, lcColon, 0, lcknowingly)
>> ENDIF
>
Thanks,
TFISHER