---
title: "orthography(at:effectiveRange:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nslinguistictagger/orthography(at:effectiverange:)"
---

# orthography(at:effectiveRange:)

Returns the orthography at the index and also returns the effective range.

## Declaration

```swift
func orthography(at charIndex: Int, effectiveRange: NSRangePointer?) -> NSOrthography?
```

## Parameters

- `charIndex`: The character index to begin examination.
- `effectiveRange`: An NSRangePointer that, upon completion, contains the range of the orthography containing charIndex.

## Return Value

Return Value The orthography for the location.

## See Also

### Determining the Dominant Language and Orthography

- [dominantLanguage(for:)](foundation/nslinguistictagger/dominantlanguage(for:).md)
- [dominantLanguage](foundation/nslinguistictagger/dominantlanguage.md)
- [setOrthography(_:range:)](foundation/nslinguistictagger/setorthography(_:range:).md)
