Slicing using the [ ] operator