A comprehensive, lightweight string extension for Swift
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
TimurKhay opened this issue 8 years ago · comments
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"
"abcdefgh"[4..<8]
""
"efgh"
Pull request: #22