---
title: substringRange
framework: speech
role: symbol
role_heading: Instance Property
path: speech/sftranscriptionsegment/substringrange
---

# substringRange

The range information for the transcription segment’s substring, relative to the overall transcription.

## Declaration

```swift
var substringRange: NSRange { get }
```

## Discussion

Discussion Use the range information to find the position of the segment within the formattedString property of the SFTranscription object containing this segment.

## See Also

### Transcribing the segment

- [substring](speech/sftranscriptionsegment/substring.md)
- [alternativeSubstrings](speech/sftranscriptionsegment/alternativesubstrings.md)
