---
title: startSubelementIndex
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nswhosespecifier/startsubelementindex
---

# startSubelementIndex

Returns the index position of the first sub-element within the range of objects being tested that pass the receiver’s test.

## Declaration

```swift
var startSubelementIndex: Int { get set }
```

## Return Value

Return Value The index position of the first sub-element within the range of objects being tested that pass the receiver’s test.

## See Also

### Accessing information about a whose specifier

- [endSubelementIdentifier](foundation/nswhosespecifier/endsubelementidentifier.md)
- [endSubelementIndex](foundation/nswhosespecifier/endsubelementindex.md)
- [startSubelementIdentifier](foundation/nswhosespecifier/startsubelementidentifier.md)
- [test](foundation/nswhosespecifier/test.md)
