Saturday, 2 January 2016

Kata Day 36: Return String of First Characters


Problem Description: 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

example: 'This Is A Test' will return 'TIAT' 

Level:7kyu

Link To Kata: Return String of First Characters

An easy Kata based on strings. We have to output first character of every word of a string. I started solving this Kata by splitting the string into an array based on a space as a delimiter. We initialize an empty array and then we start looping through the array

Here is a link to the code: Kata Day 36

Please mention your suggestions or your doubts in the comment below.

Happy coding. :)


1 comment:

  1. superlottoplus official website, Login, Registration カジノ シークレット カジノ シークレット 코인카지노 코인카지노 dafabet dafabet 7476Best Bets Nfl Divisional Round - Thakasino.com

    ReplyDelete