StringProtocol
extension StringProtocol
-
Allow string subscripting by Int closed range
Declaration
Swift
subscript(bounds: CountableClosedRange<Int>) -> SubSequence { get }
Parameters
bounds
Range to subscript
-
Allow string subscripting by Int range
Declaration
Swift
subscript(bounds: CountableRange<Int>) -> SubSequence { get }
Parameters
bounds
Range to subscript