Avatar
Avatar
Iceman
@swift-5.5.3 import Foundation print("Swift, Error".components(separatedBy: .init(charactersIn: ","))) print("Swift, Error".split(separator: ",")) (edited)
["Swift", " Error"] ["Swift", " Error"] (edited)