This even introduces some functionality that Swift String
s don't have!
var someString = "Hello, World!"
someString[1...4] // "ello"
someString[7..<12] = "Mars" // "Hello, Mars!"
someString[orNil: ...4] = "Howdy" // "Howdy, Mars!"
someString[orNil: 999...] = "Boundaries" // "Howdy, Mars!"
Licensing
This also changes the license so it's explicitly BH-1-PS.