09-23-2021 09:13 PM
Hi All,
Looking for an idea.
I am writing a text file where a certain part is repeating, therefore I am using For loop to generate the same part for n number of times. I would like to know what is the easiest way if one wants to change tiny information between the iterations.
for example: This is what I want to write in the first iteration
Kind: Transmission
Angle: 0.000000
Polarization: 90.000000
For second iteration:
Kind: Transmission
Angle: 0.000000
Polarization: 50.00000
and so on.
One way could be to have the same information for n number of times and then used search and replace function. I think this would be quite time consuming and prone to errors as will have to use search and replace function for n number of times.
Regards,
Hassan
Solved! Go to Solution.
09-23-2021 09:37 PM
Use format into string with this message as the format