<!--
{
  "availability" : [
    "iOS: 5.0.0 - 27.0.0",
    "iPadOS: 5.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "macOS: 10.7.0 - 27.0.0",
    "tvOS: 9.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0",
    "watchOS: 2.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSLinguisticTagger/orthography(at:effectiveRange:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSLinguisticTagger(im)orthographyAtIndex:effectiveRange:"
  },
  "title" : "orthography(at:effectiveRange:)"
}
-->

# orthography(at:effectiveRange:)

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

```
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

The orthography for the location.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)