5 spaces = $str($chr(160), 5) etc

EDIT:
keep in mind that does not work for incoming text, only outgoing. I.e. you can't preserv an on text's sequencial spacing using that.


-KingTomato