Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.29 KB

File metadata and controls

21 lines (13 loc) · 1.29 KB

Return String of First Characters

Provider Source Solutions
Codewars 5639bdcef2f9b06ce800005b JavaScript

In this exercise, a string is passed to a method and a new string has to be returned with the first character of each word in the string.

For example:

"This Is A Test" ==> "TIAT"

Strings will only contain letters and spaces, with exactly 1 space between words, and no leading/trailing spaces.