Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
You are familiar with an array?
Once the combined field is built, redefine it with an array of one-byte items.
Then copy the array with new names. Then write a loop to move one byte at a time from the "input" to the "output" (bypassing the unwanted spaces). When the end of the input array is reached, the output array will contain the value you describe.
We will help you if you have problems, but we won't do the work for you.
If you do not have the documentation and your organization is licensed to use the product, all of the material may be downloaded free from CA SUpport.