With Swift 4, Strings are now collections again and ranges get a boost of features. Learn more in this screencast.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4402-what-s-new-in-swift-4-strings-and-ranges