Append string inside repeat

What is the problem? Please be detailed.
I am required to build and display string after repeat that looks like "1+2+3+4+5=15"

What ODK tool and version are you using? And on what device and operating system version?
ODK 1.4/ CentOS

Can you be more specific? It will be better if you have an example of xlsform. Tks.