>Hi Rick,
>
>I think this is an excellent solution even without Textmerge() - short and clear.
>This is Ok
Thank you. It seemed a nice solution given the mated [[# and #]] tags.
>>Hi everyone !
>>How can I do this in a different way, using TextMerge() ?
>>This is example
>
>This function may work:
>
PROCEDURE DoProcessing
>LPARAMETERS tmTekst1
>LOCAL lcString
> DO WHILE .t.
> lcString = STREXTRACT(tmTekst1, "<<#", "#>>")
> IF EMPTY(lcString)
> RETURN tmTekst1
> ENDIF
> tmTekst1 = STUFF(tmTekst1, AT("<<#", tmTekst1), 6 + LEN(lcString), fff(lcString, "_temp"))
> ENDDO
>ENDPROC
>