---
title: "rangeOfComposedCharacterSequences(for:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/stringprotocol/rangeofcomposedcharactersequences(for:)"
---

# rangeOfComposedCharacterSequences(for:)

Returns the range in the string of the composed character sequences for a given range.

## Declaration

```swift
func rangeOfComposedCharacterSequences<R>(for range: R) -> Range<Self.Index> where R : RangeExpression, R.Bound == String.Index
```
