---
title: Collection Implementations
framework: swift
role: collectionGroup
role_heading: API Collection
path: swift/anyregexoutput/collection-implementations
---

# Collection Implementations

## Topics

### Instance Properties

- [count](swift/anyregexoutput/count.md)
- [count](swift/anyregexoutput/count-9fygb.md)
- [endIndex](swift/anyregexoutput/endindex.md)
- [first](swift/anyregexoutput/first.md)
- [isEmpty](swift/anyregexoutput/isempty.md)
- [startIndex](swift/anyregexoutput/startindex.md)
- [underestimatedCount](swift/anyregexoutput/underestimatedcount.md)

### Instance Methods

- [drop(while:)](swift/anyregexoutput/drop(while:).md)
- [dropFirst(_:)](swift/anyregexoutput/dropfirst(_:).md)
- [firstIndex(where:)](swift/anyregexoutput/firstindex(where:).md)
- [formIndex(_:offsetBy:)](swift/anyregexoutput/formindex(_:offsetby:).md)
- [formIndex(_:offsetBy:limitedBy:)](swift/anyregexoutput/formindex(_:offsetby:limitedby:).md)
- [formIndex(after:)](swift/anyregexoutput/formindex(after:).md)
- [indices(where:)](swift/anyregexoutput/indices(where:).md)
- [makeIterator()](swift/anyregexoutput/makeiterator().md)
- [map(_:)](swift/anyregexoutput/map(_:)-1uh24.md)
- [prefix(_:)](swift/anyregexoutput/prefix(_:).md)
- [prefix(through:)](swift/anyregexoutput/prefix(through:).md)
- [prefix(upTo:)](swift/anyregexoutput/prefix(upto:).md)
- [prefix(while:)](swift/anyregexoutput/prefix(while:).md)
- [randomElement()](swift/anyregexoutput/randomelement().md)
- [randomElement(using:)](swift/anyregexoutput/randomelement(using:).md)
- [removingSubranges(_:)](swift/anyregexoutput/removingsubranges(_:).md)
- [split(maxSplits:omittingEmptySubsequences:whereSeparator:)](swift/anyregexoutput/split(maxsplits:omittingemptysubsequences:whereseparator:).md)
- [suffix(from:)](swift/anyregexoutput/suffix(from:).md)
- [trimmingPrefix(while:)](swift/anyregexoutput/trimmingprefix(while:).md)

### Subscripts

- [subscript(_:)](swift/anyregexoutput/subscript(_:)-60hc1.md)
- [subscript(_:)](swift/anyregexoutput/subscript(_:)-smvg.md)

### Type Aliases

- [AnyRegexOutput.Index](swift/anyregexoutput/index.md)
- [AnyRegexOutput.Indices](swift/anyregexoutput/indices.md)
- [AnyRegexOutput.Iterator](swift/anyregexoutput/iterator.md)
- [AnyRegexOutput.SubSequence](swift/anyregexoutput/subsequence.md)
