Hello larniel,
You might be able to accomplish this by using the eval() function, but I'm not sure quite what the syntax would be in this scenario. For more info on this function, check out this post on the InfoPath blog:
http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspxOtherwise, you can control the text that is displayed in an expression box by binding the expression box to a node in a DOM and then using code to manipulate the value of that node. You can create anything in that node and that is what will be displayed in the Expression box.
The former of the two solutions would be much more elegant if you can figure it out, but the latter would probably be easier to accomplish.
Matt Faus / Microsoft InfoPath MVPQdabra® Software / Streamline data gathering to turn process into knowledge