sub a var into a string