How can I incorporate a variable into a string?
If you‘ve got a multi-lingual site (or even if you don’t), you can pass variables into strings with the |t filter:

{{ "Welcome back, {name}"|t( {'name': currentUser.name} ) }}


(See http://buildwithcraft.com/help/static-translations for details on how you can use the |t filter to translate your text.)