I received $rawmsg from server with spaces ($chr 32), how to save it to binary variable for future parsing?

Only $alias($rawmsg) saves spaces, but command /bset -t &bvar 1 $rawmsg loses their frown


Update: echo -a $len($rawmsg) = $len($replace($rawmsg,$chr(32),$chr(160))) works great, but may be there are other solutions smile

Last edited by Voglea; 27/10/10 05:59 PM.