How to take multiple input separated by space in swift??

How to take multiple inputs separated by space in swift??

In a command-line tool? Are you trying to get this inputs as arguments to your tool? Or reading them from stdin?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

You can parse the String, using

let arguments: [String] = input(separatedBy: " ")
How to take multiple input separated by space in swift??
 
 
Q