Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextMerge()
Message
From
29/03/2019 11:45:14
 
 
To
29/03/2019 08:13:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01667676
Message ID:
01667708
Views:
41
Hi Rick,

I think this is an excellent solution even without Textmerge() - short and clear.
This is Ok

>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform