Hi All
I'm looking for a bit of guidance. I am trying to set up some template emails using text someone has entered in a form with a variable indicated with a key word in brackets aka. [ChangeID] or [ChangeDate]. The field on the form is formatted as Rich Text so I am getting http code. (No problems yet)
In the form the template is required, I lookup the template required and I get the string. I replace the brackets with the following
I then get a string but in need to convert part of the string into variables, before I capture the correct output for my email
My question is: what is the best way to split the string into strings and variables
I'm looking for a bit of guidance. I am trying to set up some template emails using text someone has entered in a form with a variable indicated with a key word in brackets aka. [ChangeID] or [ChangeDate]. The field on the form is formatted as Rich Text so I am getting http code. (No problems yet)
In the form the template is required, I lookup the template required and I get the string. I replace the brackets with the following
Code:
strleftB = Chr(34) & " & me."
strRightB = " & " & Chr(34)
strTemplate = Replace(strTemplate, "[", strleftB)
I then get a string but in need to convert part of the string into variables, before I capture the correct output for my email
Code:
"<div>RFC Submission: <strong>" & [COLOR="Purple"]me.ChangeID[/COLOR] & ", </strong> " & [COLOR="purple"]me.Details[/COLOR] & "</div>"
My question is: what is the best way to split the string into strings and variables