this has been reported before, but i fear it may have been overlooked amidst the myriad bug reports we've seen over the years. this is a problem that almost every scripter has come across at some point:
//var %a = a $+ $chr(32) | echo -a $len(%a)
= 1. it would be fantastic if the single trailing space could be retained, and i doubt this is likely to break any existing scripts that may have employed certain techniques (replacing spaces, appending an additional space, looping backwards) to workaround the issue. this problem crops up in even the most basic and commonplace scripts, such as those that add characters onto the end of a variable using something such as
%string = %string $+ %nextchar, resulting in spaces seemingly being lost in the output.