>Thanks, I was afraid of that. I may try the strtok() function in C++ but then I'll have to do some more conversions.
You don't have to use C function to do the conversion. Visual FoxPro has all the string function you need to do this process.
What you can do is the do a pass to convert all the last string to be the last name and the prior string to be the first name. Then, you can apply a manual checkup to adjust those that didn't fit well.