thanks for the efforts thus far.
i know i may be confusing this or not explaing as well as can be.
here is a better explaination.
there are a number of feilds on a form that need to be loaded into the catalog system.
each field is a certain character length long.
(ex. first name is 10 char long, middle initial is 3 char long and phone number is 15)
when a person fills out this form, if their name is 5 char long, their middle initial is 1 char long and their phone number is 10 digits long, all the info is written on one line to be loaded into the catalog system. the system will read the first 10 characters of the line and know that it is the first name. even though the name was only 5 char long, the ending 5 char need to be filled with "spaces" to bring the middle initial to start at character number 11 and run to char number 13 (because the middle inital length is only 3 char long) and finally the phone number will be 000005551212121
so the info entered will be:
name1, M, 5551212121
and what the system needs to read the info correctly is ( - = a space):
name1-----M--00005551212121
if all the feilds were the same size, i could use a fixed length space filler, but it seems as though i will have to use a count() function and then subtract it from each set length.
does this make more sense?