nano.msg[31 + x] = myString[x]
...assuming it's a char array. Otherwise you'll need char(nano.msg[31 + x]).