Consider some strings Par1string parameters: Par1
, Par2Par2
, Par3Par3
. Could you please tell me how to compose a filename/string in string of the form:
filename="experiment-Par1_number-Par2_position-Par3.dat"
filename="experiment-Par1_number-Par2_position-Par3.dat"
EFor the data: e.g., with the following example, Par1="Exp"; Par2="11"; Par3="End";
Par1="Exp";
Par2="11";
Par3="End";
the filename would be:
filename="experiment-Exp_number-11_position-End.dat"