How to show Input Key in Text / String

OP is not asking how to append strings.

Rather how to store “typed” text in a variable.