Say I have a string here:
var fullName: String = "First Last"
I want to split the string base on white space and assign the values to their respective variables
var fullNameArr = // something like: fullName.explode(" ") var firstName: String = fullNameArr var lastName: String? = fullnameArr
Also, sometimes users might not have a last name.