---
title: "SKSummaryCopySentenceAtIndex(_:_:)"
framework: Core Services
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: coreservices/1450287-sksummarycopysentenceatindex
---

# SKSummaryCopySentenceAtIndex(_:_:)

Gets a specified sentence from the text in a summarization object.

## Declaration

```swift
func SKSummaryCopySentenceAtIndex(_ summary: SKSummary!, _ i: CFIndex) -> Unmanaged<CFString>!
```

## Parameters

- `summary`: The summarization object containing the text from which you want a sentence.
- `i`: The ordinal number of the sentence in the original text, with the first sentence designated by zero (this function uses zero-based indexing).

## Return Value

Return Value A CFString object containing the specified sentence, or NULL on failure.

## See Also

### Working With Summarization

- [SKSummaryCreateWithString(_:)](coreservices/1446229-sksummarycreatewithstring.md)
- [SKSummaryGetSentenceSummaryInfo(_:_:_:_:_:)](coreservices/1444767-sksummarygetsentencesummaryinfo.md)
- [SKSummaryGetParagraphSummaryInfo(_:_:_:_:)](coreservices/1447517-sksummarygetparagraphsummaryinfo.md)
- [SKSummaryGetSentenceCount(_:)](coreservices/1450009-sksummarygetsentencecount.md)
- [SKSummaryGetParagraphCount(_:)](coreservices/1449304-sksummarygetparagraphcount.md)
- [SKSummaryCopyParagraphAtIndex(_:_:)](coreservices/1445711-sksummarycopyparagraphatindex.md)
- [SKSummaryCopySentenceSummaryString(_:_:)](coreservices/1449700-sksummarycopysentencesummarystri.md)
- [SKSummaryCopyParagraphSummaryString(_:_:)](coreservices/1449746-sksummarycopyparagraphsummarystr.md)
- [SKSummaryGetTypeID()](coreservices/1444796-sksummarygettypeid.md)
