var a = "123" a[1..3] // expect runtime error: Range end out of bounds.