SwiftString
SwiftString copied to clipboard
subscript

does SwiftString's subscript work this way intentionally?
Would expect it to grab chars 4 through 8 in the below case.
currently:
"abcdefgh"[4..<8]
-> ""
// blank string
expected example:
"abcdefgh"[4..<8]
-> "efgh"
Pull request: https://github.com/amayne/SwiftString/pull/22