the index api is designed for opaque index type like String.Index, these are not Int. For Index type that's Int like Array, you can use Int to do index calculation.

Agree! My post case in point.

1 Like