Hello,
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 && Add the 4 spaces of did:
lcknowingly = " [knowingly] "
IF "purposely" $ lcJuris OR;
"knowingly" $ lcJuris OR;
"recklessly" $ lcJuris OR;
"negligently" $ lcJuris
ELSE
STUFF(lcJuris, lcColon, 0, lcknowingly)
ENDIF
>The STUFF() is function not command. Can you post your code?
>
>>
>>I have a memo field that is several hundred characters long. I want to insert a word at varying points in the memo field. I have tried to use the STUFF command, but it is not working for me. Suggestions on how to insert a word at a particular point of the memo?
>>
Thanks,
TFISHER