Customizing namimg Formats

Customizing namimg Formats

What format value should i use to have name format with first letter of first name and last name,
example John Doe = JDoe