I have array of string, how can i convert that array of string to array of integer. For converting to int im tried
1. var intArry = arr.flatMap{Int($0)}
2. var intArry = arr.map{Int($0)}, 3. var intarry = Int(arr) and etc... but im did't get the array of Int. if im using some code im getting [0,0,0,0,0,] and some times getting empty [ ].