I have an HTML file template which is used for mailing purpose here in the template.
Hi XXX,
Thanks for joing in the Club, your ClubcardNo is : XXXXX
Thanks
Here now in the code I need to replace this XXXX with name and clubcard no:
name:Kiran
clubcard no: 23453
How can I get this done?
If you have this as a string value. (ie you read it in as a string from the file) then you can just do
Where s is the string that you retrieved from the file and the number is an example. I’m sure you won’t hardcode them like that.