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

# index(after:)

Returns the next consecutive location after i.

## Declaration

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

## Discussion

Discussion note: The next location exists.
