Why does Swift use String.Index instead of Int for substrings?

Why is it that in Swift one has to work with String.Index, instead of Int?Like:

let myStr = "This is some string"

myStr[5...] // "is some string"
3 Likes