Print to text

Hi All. How do I print a vaiable in a dynamic field to text!?
Please help urgently!