1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

manipulate rtf file

Discussion in 'Delphi Help&Requests' started by ana21675, May 5, 2014.

  1. ana21675
    Offline

    ana21675 DF Member

    asking for help

    i want to replace a word inside a tag in a rtf file, like

    " my name is <<name>>"  <<name>> replace with John, how to do it ? :dodgy:

    thank in advance
     
  2. ms301
    Offline

    ms301 DF Junior

    begin
       RichEdit.Text:='[font='Open Sans', Arial, Tahoma, Verdana, sans-serif]my name is <<name>>';[/font]
       RichEdit.Text:=StringReplace(RichEdit.Text,'[font='Open Sans', Arial, Tahoma, Verdana, sans-serif]<<name>>'[/font],'[font='Open Sans', Arial, Tahoma, Verdana, sans-serif]John[/font]',[rtAll]);
    end;
     

Share This Page