[SR-11355] String.range(of...) matches an extra NUL (and returns range outside string boundaries) #53756
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: standard library umbrella
Environment
Swift 5
Xcode 10.3
MacOS 10.14.6
Additional Detail from JIRA
md5: 5026fff9c23d99a0d147ad5d53b56b68
Issue Description:
This is pretty self explanatory:
I'd expect:
The text was updated successfully, but these errors were encountered: