Can you give an example of what you're trying to do? Your description and code are way too confusing. But it sounds to me like your best bet may be to use the array module and build up your string a field at a time.