Consider some string parameters: Par1
, Par2
, Par3
. Could you please tell me how to compose a filename string of the form:
filename="experiment-Par1_number-Par2_position-Par3.dat"
For the data: e.g.,
Par1="Exp";
Par2="11";
Par3="End";
the filename would be:
filename="experiment-Exp_number-11_position-End.dat"