# ee.List.slice

Returns a portion of list between the start index, inclusive, and end index, exclusive. Negative values for start or end count backwards from the end of the list. Values greater than the size of the list are legal but are truncated to the size of list.

<br />

| Usage | Returns |
|---|---|
| `List.slice(start, *end*, *step*)` | List |

| Argument | Type | Details |
|---|---|---|
| this: `list` | List |   |
| `start` | Integer |   |
| `end` | Integer, default: null |   |
| `step` | Integer, default: null |   |