Your challenge today is to initialize an individual's middle name (if there is any).
'Jack Ryan' => 'Jack Ryan'
'Lois Mary Lane' => 'Lois M. Lane'
'Dimitri' => 'Dimitri'
'Alice Betty Catherine Davis' => 'Alice B. C. Davis'
Want to propose a challenge for a future post? Email firstname.lastname@example.org with your suggestions!