Problem : When you display a message with the simulator, it add a blank space before & after. But when it's displayed in a loop, the blanks cumulate each time
My solution : change in the /skulpt/microbit/init.js
message.v = " " + message.v + " ";
by
let foo= " " + message.v + " ";
and use that new variable for the calls.