I have a list of calculation formulas, how can I replace something like
‘MAX(D99020-15/85*(D99003+D99008), D99020-15/60D99003, 0)’ to
'MAX(${D99020}-15/85(${D99003}+${D99008}),${D99020}-15/60*${D99003}, 0)’, given that there will be always 5 digits after ‘D’. The calculation will be really random, so my main problem is how can I add a ‘}’ after each of ‘D???’.
Thanks,
Eiffel