bet365 interview question

What does the slice command do within golang.