Aside from what RusselB mentioned, $chr(160) is not a space. It just looks like one. Personally I don't believe it is a viable way of inserting spaces into your own text, nor a good way to put spaces into incoming text (especially if you wish to use tools like "grep" to search the text).

The DLL mentioned above is an excellent tool, which I've been using for quite some time.