/Challenge_Reverse-the-words-in-a-string

Write a function that returns a string with each of its words reversed but in the original order, without using a loop.

Primary LanguageSwift

Challenge_Reverse-the-words-in-a-string

Write a function that returns a string with each of its words reversed but in the original order, without using a loop.

Sample input and output

•	The string “Swift Coding Challenges” should return “tfiwS gnidoC segnellahC”. 


•	The string “The quick brown fox” should return “ehT kciuq nworb xof”.