Last Name First Name Middle Initial Format

Currently i have names with and without a middle initial in them that are formatted like this.
Last name first name middle initial format. Your middle name is your name which comes between your first name and last name. In the above example prakash is the middle name maybe it is his father s name. I need to put the name fields together with no trailing spaces but with a space between each name into a single working storage field 42 spaces in length. Your first name is your personal given or christian name.
For example in the name sathya prakash rao. They only have their first names and last names. Some people use their place in the middle name such as sathya. 01 last name pic x 18.
The last and first names can of course be any size when they come in. Most persons don t have middle names. First name is the name given by your parents. It is also called forename.
Middle name is the name of your father husband or the place. 01 mi name pic x 01. It is the name chosen for a child usually by the child s parents. 01 first name pic x 12.