If I export a name, surname and age to a txt file it looks like this.

Dean, James, 45

I want to set the field size to 30 for the name and surname and 3 for the age to have my txt file to look like this:

Dean ,James ,45 ,

In other words the rest must be filled up with spaces.

Hope someone can help.