use something like this

alias spaced return $replace($1-,~,$chr(160))

/echo -a b   c
/echo -a $spaced(b~~~c)

result
b c
b   c


or if your just writting echos etc, use $chr(160) to begin with, oddly if u want to use alt-160 u actualy have to use alt-255, dont ask me why.

if your working with pre existing strings with spaces, then use
%whatever = $replace(%whatever,$chr(32),$chr(160))

Last edited by DaveC; 28/12/03 08:26 AM.