StringProtocol
extension StringProtocol
-
Allow string subscripting by Int closed range
Declaration
Swift
subscript(bounds: CountableClosedRange<Int>) -> SubSequence { get }Parameters
boundsRange to subscript
-
Allow string subscripting by Int range
Declaration
Swift
subscript(bounds: CountableRange<Int>) -> SubSequence { get }Parameters
boundsRange to subscript
View on GitHub
StringProtocol Extension Reference