# SplitOptions enum

Namespace: [Grasshopper2.Extensions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.extensions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum SplitOptions
```

Enumerates the possible splitting options to be used by Split extension method.

## Values

| Name | Value | Description |
| --- | --- | --- |
| SegmentsBetweenIndices | 0 | Only the portions in between the indices are returned. |
| SegmentsWithFirstIndex | 1 | Returned segments include the starting index. |
| SegmentWithLastIndex | 2 | Returned segments include the terminal index. |
| SegmentWithBothIndices | 3 | Returned segments include both the start and the terminal index. |
