Global value gets truncated when adding a string to it


In the first image, where the cursor is placed there’s gv(StrkVal) which shows the correct result. In the second image, when I try to append an empty string to it, it gets truncated. Why does this happen? Is this intended?