In Swift 4, I\'m getting this error when I try to take a Substring of a String using subscript syntax.
Substring
String
\'subscript\' is unavaila
You could just convert your string to an array of characters...
let aryChar = Array(myString)
Then you get all the array functionality...