Another good solution.
I have been working on it and come up with something like this, which so far seems to be solving one of my issues:
cInst1 = trim(SUBSTRING(string(cInst) ,1, 50)).
cInst2 = trim(SUBSTRING(STRING(cInst), 51, 50)).
cInst3 = trim(SUBSTRING(STRING(cInst), 101...