---
title: "index(after:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/string/utf8view/index(after:)"
---

# index(after:)

Returns the next consecutive position after i.

## Declaration

```swift
func index(after i: String.UTF8View.Index) -> String.UTF8View.Index
```

## Discussion

Discussion note: The next position is representable.
