The best way I can think of to do this is to build a custom template function that builds exactly the string you want. The formatter will still strip the results of this function, but I don't think that anything will remove embedded spaces.
Looking at the code, I see that substr does not in fact strip the results. What is doing that is the template result. This tells me that you can solve this problem using general program mode, constructing the components one by one and then strcat'ing them together.
|