sometimes an OP just wants a quick (and possibly in the eyes of some people, dirty) solution, rather than a Comp Sci lesson.
Exactly.
In fact I'm surprised there aren't code architects here that try to post some full-featured Object-hierarchy for every single problem.
"And then you simply need to derive a new class from this particular CTextWithaSpaceInFrontOfIt base class, and then return the text to output in the overridden WriteText() Method. Also don't forget to set the ReturnFormatter property to an instance of an object that implements the IReturnFormatter interface. You can use the CReturnFormatter class for this if necessary, it performs default handing of IReturnFormatter by not formatting anything at all."
A lot of people, when they take their car into the shop, they really don't care that their Alternator Selenoid needs topping up or that there is a leak in their carburetor or what is causing their problems. That's why they went to the shop, to fix whatever is wrong.
Not everybody can be an expert in everything; many Posters here have no intention of getting into programming and are merely trying to do their job; while, as Salmon Trout says, it does no harm to suggest other alternatives like Python/Perl, When you reference it time and time again in repeated posts afterward even after the OP has expressed disinterest in the solution just makes you look like a hard-headed evangelist. Python and Perl are programming languages. They are no worse nor no better overall then any other. No Programming language has <everything> you could ever need. Sure Python/Perl have modules you can use for nearly everything; so does VBScript. It's called COM. and COM components are a lot easier to use from VBScript as compared to either Python or Perl (which in themselves need a module for this purpose), why? because VBScript was designed solely as a glue language, and specifically as a consumer of these COM components. Python/Perl were not designed with the ability to use COM components; they still can, if you know the proper Voodoo. (and god forbid you have to deal with COM errors in either one)