M(
Size: a a a
M(
VB
VB
VB
0
M(
A
M(
M(
M(
A
M(
M(
A
A
M(
var mystr = "hello world"
let mystrStart = mystr[0].addr
let mystrEnd = mystr[^1].addr
let len = cast[uint](mystrEnd) - cast[uint](mystrStart) + 1
var mynewstr = newString(len)
copyMem(mynewstr[0].addr, mystrStart, len)
echo mynewstr
M(
M(
M(
M(