import UIKit var str = "Hello, playground" // First way print(String(str.reversed())) //Second way var charArray: [Character] = [Character]() for ch in str { charArray.append(ch) } var reversedArray: [Character] = [Character]() for i in (0..<str.count).reversed() { reversedArray.append(charArray[i]) } print(String(reversedArray))
It was not an easy topic to elaborate in such a short span of time. Custom Website is such a complex topic but you made it easy to understand
ReplyDeleteThank you very much for drawing my notice to this. Your blog is jam-packed with helpful information. Unless I read it, I'd have no idea. I'll be back for more great content. Wishing you the best of luck and prosperity. Best Custom Websites
ReplyDeleteThank you very much for sharing this informational blog.I could not find such kind of information in any other site.I'll come back for more fantastic material.
ReplyDeleteBest wishes, and good luck.
Custom Website
Good content. I was looking for this type of content. Saved my time for further search.
ReplyDeleteYou should always provide that type of content. I appreciate your determination to give the students a good title.Custom Designed Websites