Hi @Mani_Mani
Kindly follow the below steps that could help you solve this issue
–First store this string template in a text file
Name: {0}
Email: {1}
Phone Number: {3}
where 0, 1, 2 are the place holders where we are going to mention the string that is to be placed in 0, 1, 2
–and use read text file activity and pass the file path of the text file and get the output with a variable of type string named out_text
–then in the body mention as String.Format(out_text,“Mani”,“mani@gmail.com”,“1234123515”)
and the actual syntax is
String.Format(“{0} {1} {2} …”, “value1”,“value2”,“value3”)
where {0}{1} are already in our output variable obtained from read text file activity and value1, value2 and value3 are passed as string between quotes if they are values or if we have those values in variables then we can mention the variable name alone without double quotes around them like this
String.Format(“{0} {1} {2} …”, variablename1,variablename2,variablename3)
Hope this would help you
Kindly try this and let know for any queries or clarificaiton @Mani_Mani
Cheers