nolta/julia — comment on commit 133a9f655f336f1c21b1388f6f5431d2f4e37314
File:  line 0
By StefanKarpinski:

I think this change is unnecessary. For slices of strings, the indices don't have to be valid character indices. The scheme is that the substring is the sequence of valid characters yielded by indexing into the string over the range (of course, it's implemented more efficiently). The invariant is that `str[1:k]` and `str[k:end]` always split the string into non-overlapping substrings.