Link to home
Start Free TrialLog in
Avatar of bd9000
bd9000

asked on

string.replace method not replacing strings in vb.net 2

In the example below, the replace method does nothing at all!
Am I using this incorrectly?
Dim mastertemplate As String = Me.txtNewsLetterTemplate.Text
            mastertemplate.Replace("[title]", Me.txtNewsLetterTitle.Text.Trim)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of PockyMaster
PockyMaster
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Daniel Reynolds
Daniel Reynolds
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bd9000
bd9000

ASKER

oooh! duh!
I was not thinking