Append multiple keypresses to one string?

hi thanks for responding yes i am using append string but i cant seem to get it to work properly in this scenario, for instance,
image
outputs
image