I've previously used myString[0...1] to get the first character of a string. I assume that is now myString[0..<2]? In any event, the error states:
'subscript' is unavailable: cannot subscript String with a CountableClosedRange<Int>, see the documentation comment for discussion What documentation is this referring to? There's no right-click definition available, nothing in Navigator, and Google fails to turn up anything. I suspect its referring to the changelist or maybe github checkin notes? _______________________________________________ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/swift-users