---
title: replacementIndex
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/attributescopes/foundationattributes/replacementindex
---

# replacementIndex

A property for accessing a replacement index attribute.

## Declaration

```swift
let replacementIndex: AttributeScopes.FoundationAttributes.ReplacementIndexAttribute
```

## See Also

### Using string formatting attributes

- [AttributeScopes.FoundationAttributes.ReplacementIndexAttribute](foundation/attributescopes/foundationattributes/replacementindexattribute.md)
