Open TimurKhay opened 8 years ago
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
does SwiftString's subscript work this way intentionally?