componentsSeparatedByString() Error in Swift 3

It looks like there is a components(separatedBy:) on String:

import Foundation

let words = "apple binary cat delta echo".components(separatedBy: " ")
print(words)

enter image description here

IBM Playground link:
http://swiftlang.ng.bluemix.net/#/repl/57868332b4e4e9971bf9f4e8

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)