---
title: BidirectionalCollection Implementations
framework: swift
role: collectionGroup
role_heading: API Collection
path: swift/substring/bidirectionalcollection-implementations
---

# BidirectionalCollection Implementations

## Topics

### Instance Properties

- [last](swift/substring/last.md)

### Instance Methods

- [difference(from:)](swift/substring/difference(from:).md)
- [difference(from:by:)](swift/substring/difference(from:by:).md)
- [distance(from:to:)](swift/substring/distance(from:to:).md)
- [dropLast(_:)](swift/substring/droplast(_:).md)
- [formIndex(before:)](swift/substring/formindex(before:).md)
- [index(_:offsetBy:)](swift/substring/index(_:offsetby:).md)
- [index(_:offsetBy:limitedBy:)](swift/substring/index(_:offsetby:limitedby:).md)
- [index(after:)](swift/substring/index(after:).md)
- [index(before:)](swift/substring/index(before:).md)
- [last(where:)](swift/substring/last(where:).md)
- [lastIndex(of:)](swift/substring/lastindex(of:).md)
- [lastIndex(where:)](swift/substring/lastindex(where:).md)
- [popLast()](swift/substring/poplast()-7k3s0.md)
- [removeLast()](swift/substring/removelast()-2gcne.md)
- [removeLast(_:)](swift/substring/removelast(_:)-8r1d9.md)
- [reversed()](swift/substring/reversed().md)
- [suffix(_:)](swift/substring/suffix(_:).md)

### Subscripts

- [subscript(_:)](swift/substring/subscript(_:)-6e3qj.md)
