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

# BidirectionalCollection Implementations

## Topics

### Structures

- [String.Index](swift/string/index.md)

### Instance Properties

- [endIndex](swift/string/endindex.md)
- [last](swift/string/last.md)
- [startIndex](swift/string/startindex.md)

### Instance Methods

- [difference(from:)](swift/string/difference(from:).md)
- [difference(from:by:)](swift/string/difference(from:by:).md)
- [distance(from:to:)](swift/string/distance(from:to:).md)
- [dropLast(_:)](swift/string/droplast(_:).md)
- [formIndex(before:)](swift/string/formindex(before:).md)
- [index(_:offsetBy:)](swift/string/index(_:offsetby:).md)
- [index(_:offsetBy:limitedBy:)](swift/string/index(_:offsetby:limitedby:).md)
- [index(after:)](swift/string/index(after:).md)
- [index(before:)](swift/string/index(before:).md)
- [last(where:)](swift/string/last(where:).md)
- [lastIndex(of:)](swift/string/lastindex(of:).md)
- [lastIndex(where:)](swift/string/lastindex(where:).md)
- [reversed()](swift/string/reversed().md)
- [suffix(_:)](swift/string/suffix(_:).md)

### Subscripts

- [subscript(_:)](swift/string/subscript(_:)-2so14.md)
- [subscript(_:)](swift/string/subscript(_:)-lc0v.md)
