# slice(List,start,end)

**Description:**

Returns a portion (slice) of a given list between the specified start and end indices.

**Example:**

![image-20251103-115106.png](https://openbrim.atlassian.net/wiki/download/attachments/3386834948/image-20251103-115106.png?api=v2)

```
<O N="SliceFunc" T="Project">
    <P N="array" V="[1,2,3,4,11,12,17]" />
    <P N="slice" V="slice(array,1,5)" />
    <P N="slice1" V="slice(array,1,8)" />
</O>
```
