str a.getwintext(id(2 "EditBox")) str b.getwintext(id(4 "CallCenter")) a.findreplace("," "") b.findreplace("," "") a.trim('$') b.trim('$') CURRENCY c1 c2 c1=val(a 2) c2=val(b 2) c1.add(c2) str c= c1 strrev c a.replacerx("(\d{3})(?=\d+($|[^\.\w]))" "$1,") strrev c out c