Skip to content

Latest commit

 

History

History

abbreviateATwoWordName

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Abbreviate a Two Word Name

8 kyu link to kata
my solution

Write a function to convert a name into initials. This kata strictly takes two words with one space in between them.

The output should be two capital letters with a dot separating them.

It should look like this:

Sam Harris => S.H

patrick feeney => P.F