Initializer

init(_:in:)

No overview available.

Declaration

init?(_ range: NSRange, in string: String)
Available when Bound is String.Index.

See Also

Converting Ranges

func relative<C>(to: C) -> Range<Bound>

Returns the range of indices described by this range expression within the given collection.

init(ClosedRange<Bound>)

Creates an instance equivalent to the given ClosedRange.