Spilit String In Swift

[Solved] Spilit String In Swift | Swift - Code Explorer | yomemimo.com
Question : spilit string in swift

Answered by : zakaria-jawas

import Foundation
let sayHello = "Hello Swift 4 2017";
let result = sayHello.split(separator: " ")
print(result)

Source : https://stackoverflow.com/questions/25678373/split-a-string-into-an-array-in-swift | Last Update : Wed, 25 May 22

Answers related to spilit string in swift

Code Explorer Popular Question For Swift