I think you are making your life difficult by trying to do these calculations inside a text string. Assuming you have a simple T-test here:
lcl=estimate-1.96*stderr;
ucl=estimate+1.96*stderr;
Then you have three variables, ESTIMATE, LCL and UCL that you can print or format any way you want.
... View more