Note also that this is buggy:
julia> s = "α.jl"
"α.jl"
julia> s[begin:end-3]
ERROR: StringIndexError: invalid index [2], valid nearby indices [1]=>'α', [3]=>'.'
(It’s really tempting to write this, which is a key motivation for a StringIndex
type.)