Added simple support for string variables (text replacement).