class func stringToArray(input:NSString) ->NSArray {code
let arrInput = (0..<input.length).map({input
Character(UnicodeScalar(input.character(at: $0))!)string
})class
return arrInput as NSArraymap
}co
orlet
class func stringToArray(input:String) ->Array {return
return input.map { String($0) }
}