Swift is still under development, so there are a lot of things to be done from the Apple team. One of these things is the use of ranges in the String type.