The following was possible with Swift 2.2:
let m = \"alpha\" for i in m.startIndex..
With 3.0,
Swift 4:
let mi: String = "hello how are you?" for i in mi { print(i) }